

# AccountAssignmentOperationStatus
<a name="API_AccountAssignmentOperationStatus"></a>

The status of the creation or deletion operation of an assignment that a principal needs to access an account.

## Contents
<a name="API_AccountAssignmentOperationStatus_Contents"></a>

 ** CreatedDate **   <a name="singlesignon-Type-AccountAssignmentOperationStatus-CreatedDate"></a>
The date that the permission set was created.  
Type: Timestamp  
Required: No

 ** FailureReason **   <a name="singlesignon-Type-AccountAssignmentOperationStatus-FailureReason"></a>
The message that contains an error or exception in case of an operation failure.  
Type: String  
Pattern: `[\p{L}\p{M}\p{Z}\p{S}\p{N}\p{P}]*`   
Required: No

 ** PermissionSetArn **   <a name="singlesignon-Type-AccountAssignmentOperationStatus-PermissionSetArn"></a>
The ARN of the permission set. For more information about ARNs, see [Amazon Resource Names (ARNs) and AWS Service Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the * AWS General Reference*.  
Type: String  
Length Constraints: Minimum length of 10. Maximum length of 1224.  
Pattern: `arn:aws(-[a-z]{1,5}){0,3}:sso:::permissionSet/(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16}`   
Required: No

 ** PrincipalId **   <a name="singlesignon-Type-AccountAssignmentOperationStatus-PrincipalId"></a>
An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the [IAM Identity Center Identity Store API Reference](/singlesignon/latest/IdentityStoreAPIReference/welcome.html).  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 47.  
Pattern: `([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}`   
Required: No

 ** PrincipalType **   <a name="singlesignon-Type-AccountAssignmentOperationStatus-PrincipalType"></a>
The entity type for which the assignment will be created.  
Type: String  
Valid Values: `USER | GROUP`   
Required: No

 ** RequestId **   <a name="singlesignon-Type-AccountAssignmentOperationStatus-RequestId"></a>
The identifier for tracking the request operation that is generated by the universally unique identifier (UUID) workflow.  
Type: String  
Length Constraints: Fixed length of 36.  
Pattern: `\b[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}\b`   
Required: No

 ** Status **   <a name="singlesignon-Type-AccountAssignmentOperationStatus-Status"></a>
The status of the permission set provisioning process.  
Type: String  
Valid Values: `IN_PROGRESS | FAILED | SUCCEEDED`   
Required: No

 ** TargetId **   <a name="singlesignon-Type-AccountAssignmentOperationStatus-TargetId"></a>
TargetID is an AWS account identifier, (For example, 123456789012).  
Type: String  
Length Constraints: Fixed length of 12.  
Pattern: `\d{12}`   
Required: No

 ** TargetType **   <a name="singlesignon-Type-AccountAssignmentOperationStatus-TargetType"></a>
The entity type for which the assignment will be created.  
Type: String  
Valid Values: `AWS_ACCOUNT`   
Required: No

## See Also
<a name="API_AccountAssignmentOperationStatus_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/sso-admin-2020-07-20/AccountAssignmentOperationStatus) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sso-admin-2020-07-20/AccountAssignmentOperationStatus) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sso-admin-2020-07-20/AccountAssignmentOperationStatus) 