AWS Single Sign-On
API Reference
AWS Single Sign-On: API Reference
Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved.
Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon.
Table of Contents
Welcome ... 1
Actions ... 2
AttachManagedPolicyToPermissionSet ... 3
Request Syntax ... 3
Request Parameters ... 3
Response Elements ... 4
Errors ... 4
See Also ... 4
CreateAccountAssignment ... 6
Request Syntax ... 6
Request Parameters ... 6
Response Syntax ... 7
Response Elements ... 8
Errors ... 8
See Also ... 9
CreateInstanceAccessControlAttributeConfiguration ... 10
Request Syntax ... 10
Request Parameters ... 10
Response Elements ... 10
Errors ... 11
See Also ... 11
CreatePermissionSet ... 12
Request Syntax ... 12
Request Parameters ... 12
Response Syntax ... 13
Response Elements ... 13
Errors ... 14
See Also ... 14
DeleteAccountAssignment ... 16
Request Syntax ... 16
Request Parameters ... 16
Response Syntax ... 17
Response Elements ... 17
Errors ... 18
See Also ... 18
DeleteInlinePolicyFromPermissionSet ... 20
Request Syntax ... 20
Request Parameters ... 20
Response Elements ... 20
Errors ... 20
See Also ... 21
DeleteInstanceAccessControlAttributeConfiguration ... 22
Request Syntax ... 22
Request Parameters ... 22
Response Elements ... 22
Errors ... 22
See Also ... 23
DeletePermissionSet ... 24
Request Syntax ... 24
Request Parameters ... 24
Response Elements ... 24
Errors ... 24
See Also ... 25
DescribeAccountAssignmentCreationStatus ... 26
Request Syntax ... 26
Request Parameters ... 26
Response Syntax ... 26
Response Elements ... 27
Errors ... 27
See Also ... 27
DescribeAccountAssignmentDeletionStatus ... 29
Request Syntax ... 29
Request Parameters ... 29
Response Syntax ... 29
Response Elements ... 30
Errors ... 30
See Also ... 30
DescribeInstanceAccessControlAttributeConfiguration ... 32
Request Syntax ... 32
Request Parameters ... 32
Response Syntax ... 32
Response Elements ... 32
Errors ... 33
See Also ... 33
DescribePermissionSet ... 35
Request Syntax ... 35
Request Parameters ... 35
Response Syntax ... 35
Response Elements ... 36
Errors ... 36
See Also ... 36
DescribePermissionSetProvisioningStatus ... 38
Request Syntax ... 38
Request Parameters ... 38
Response Syntax ... 38
Response Elements ... 39
Errors ... 39
See Also ... 39
DetachManagedPolicyFromPermissionSet ... 41
Request Syntax ... 41
Request Parameters ... 41
Response Elements ... 42
Errors ... 42
See Also ... 42
GetInlinePolicyForPermissionSet ... 44
Request Syntax ... 44
Request Parameters ... 44
Response Syntax ... 44
Response Elements ... 44
Errors ... 45
See Also ... 45
ListAccountAssignmentCreationStatus ... 47
Request Syntax ... 47
Request Parameters ... 47
Response Syntax ... 48
Response Elements ... 48
Errors ... 48
See Also ... 49
ListAccountAssignmentDeletionStatus ... 50
Request Syntax ... 50
Request Parameters ... 50
Response Syntax ... 51
Response Elements ... 51
Errors ... 51
See Also ... 52
ListAccountAssignments ... 53
Request Syntax ... 53
Request Parameters ... 53
Response Syntax ... 54
Response Elements ... 54
Errors ... 55
See Also ... 55
ListAccountsForProvisionedPermissionSet ... 56
Request Syntax ... 56
Request Parameters ... 56
Response Syntax ... 57
Response Elements ... 57
Errors ... 57
See Also ... 58
ListInstances ... 59
Request Syntax ... 59
Request Parameters ... 59
Response Syntax ... 59
Response Elements ... 59
Errors ... 60
See Also ... 60
ListManagedPoliciesInPermissionSet ... 62
Request Syntax ... 62
Request Parameters ... 62
Response Syntax ... 63
Response Elements ... 63
Errors ... 63
See Also ... 64
ListPermissionSetProvisioningStatus ... 65
Request Syntax ... 65
Request Parameters ... 65
Response Syntax ... 66
Response Elements ... 66
Errors ... 66
See Also ... 67
ListPermissionSets ... 68
Request Syntax ... 68
Request Parameters ... 68
Response Syntax ... 69
Response Elements ... 69
Errors ... 69
See Also ... 70
ListPermissionSetsProvisionedToAccount ... 71
Request Syntax ... 71
Request Parameters ... 71
Response Syntax ... 72
Response Elements ... 72
Errors ... 73
See Also ... 73
ListTagsForResource ... 74
Request Syntax ... 74
Request Parameters ... 74
Response Syntax ... 75
Response Elements ... 75
Errors ... 75
See Also ... 76
ProvisionPermissionSet ... 77
Request Syntax ... 77
Request Parameters ... 77
Response Syntax ... 78
Response Elements ... 78
Errors ... 78
See Also ... 79
PutInlinePolicyToPermissionSet ... 80
Request Syntax ... 80
Request Parameters ... 80
Response Elements ... 81
Errors ... 81
See Also ... 81
TagResource ... 83
Request Syntax ... 83
Request Parameters ... 83
Response Elements ... 84
Errors ... 84
See Also ... 84
UntagResource ... 86
Request Syntax ... 86
Request Parameters ... 86
Response Elements ... 87
Errors ... 87
See Also ... 87
UpdateInstanceAccessControlAttributeConfiguration ... 89
Request Syntax ... 89
Request Parameters ... 89
Response Elements ... 89
Errors ... 90
See Also ... 90
UpdatePermissionSet ... 91
Request Syntax ... 91
Request Parameters ... 91
Response Elements ... 92
Errors ... 92
See Also ... 93
Data Types ... 94
AccessControlAttribute ... 95
Contents ... 95
See Also ... 95
AccessControlAttributeValue ... 96
Contents ... 96
See Also ... 96
AccountAssignment ... 97
Contents ... 97
See Also ... 98
AccountAssignmentOperationStatus ... 99
Contents ... 99
See Also ... 100
AccountAssignmentOperationStatusMetadata ... 101
Contents ... 101
See Also ... 101
AttachedManagedPolicy ... 102
Contents ... 102
See Also ... 102
InstanceAccessControlAttributeConfiguration ... 103
Contents ... 103
See Also ... 103
InstanceMetadata ... 104
Contents ... 104
See Also ... 104
OperationStatusFilter ... 105
Contents ... 105
See Also ... 105
PermissionSet ... 106
Contents ... 106
See Also ... 107
PermissionSetProvisioningStatus ... 108
Contents ... 108
See Also ... 109
PermissionSetProvisioningStatusMetadata ... 110
Contents ... 110
See Also ... 110
Tag ... 111
Contents ... 111
See Also ... 111
Common Parameters ... 112
Common Errors ... 114
Document History ... 116
Welcome to the AWS Single Sign-On API Reference Guide
AWS Single Sign-On (SSO) is a cloud SSO service that makes it easy to centrally manage SSO access to multiple AWS accounts and business applications. This guide provides information on SSO operations which could be used for access management of AWS accounts. For information about AWS SSO features, see the AWS Single Sign-On User Guide.
Many operations in the AWS SSO APIs rely on identifiers for users and groups, known as principals. For more information about how to work with principals and principal IDs in AWS SSO, see the AWS SSO Identity Store API Reference.
NoteAWS provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .Net, iOS, Android, and more). The SDKs provide a convenient way to create programmatic access to AWS SSO and other AWS services. For more information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.
Actions
The following actions are supported:
• AttachManagedPolicyToPermissionSet (p. 3)
• CreateAccountAssignment (p. 6)
• CreateInstanceAccessControlAttributeConfiguration (p. 10)
• CreatePermissionSet (p. 12)
• DeleteAccountAssignment (p. 16)
• DeleteInlinePolicyFromPermissionSet (p. 20)
• DeleteInstanceAccessControlAttributeConfiguration (p. 22)
• DeletePermissionSet (p. 24)
• DescribeAccountAssignmentCreationStatus (p. 26)
• DescribeAccountAssignmentDeletionStatus (p. 29)
• DescribeInstanceAccessControlAttributeConfiguration (p. 32)
• DescribePermissionSet (p. 35)
• DescribePermissionSetProvisioningStatus (p. 38)
• DetachManagedPolicyFromPermissionSet (p. 41)
• GetInlinePolicyForPermissionSet (p. 44)
• ListAccountAssignmentCreationStatus (p. 47)
• ListAccountAssignmentDeletionStatus (p. 50)
• ListAccountAssignments (p. 53)
• ListAccountsForProvisionedPermissionSet (p. 56)
• ListInstances (p. 59)
• ListManagedPoliciesInPermissionSet (p. 62)
• ListPermissionSetProvisioningStatus (p. 65)
• ListPermissionSets (p. 68)
• ListPermissionSetsProvisionedToAccount (p. 71)
• ListTagsForResource (p. 74)
• ProvisionPermissionSet (p. 77)
• PutInlinePolicyToPermissionSet (p. 80)
• TagResource (p. 83)
• UntagResource (p. 86)
• UpdateInstanceAccessControlAttributeConfiguration (p. 89)
• UpdatePermissionSet (p. 91)
AttachManagedPolicyToPermissionSet
AttachManagedPolicyToPermissionSet
Attaches an IAM managed policy ARN to a permission set.
NoteIf the permission set is already referenced by one or more account assignments, you will need to call ProvisionPermissionSet (p. 77) after this operation. Calling ProvisionPermissionSet applies the corresponding IAM policy updates to all assigned accounts.
Request Syntax
{ "InstanceArn": "string", "ManagedPolicyArn": "string", "PermissionSetArn": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
InstanceArn (p. 3)
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes ManagedPolicyArn (p. 3)
The IAM managed policy ARN to be attached to a permission set.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 2048.
Required: Yes PermissionSetArn (p. 3)
The ARN of the PermissionSet (p. 106) that the managed policy should be attached to.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::permissionSet/
(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16}
Response Elements
Required: Yes
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors (p. 114).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 400 ConflictException
Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
HTTP Status Code: 400 InternalServerException
The request processing has failed because of an unknown error, exception, or failure with an internal server.
HTTP Status Code: 400 ResourceNotFoundException
Indicates that a requested resource is not found.
HTTP Status Code: 400 ServiceQuotaExceededException
Indicates that the principal has crossed the permitted number of resources that can be created.
HTTP Status Code: 400 ThrottlingException
Indicates that the principal has crossed the throttling limits of the API operations.
HTTP Status Code: 400 ValidationException
The request failed because it contains a syntax error.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
See Also
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
CreateAccountAssignment
CreateAccountAssignment
Assigns access to a principal for a specified AWS account using a specified permission set.
NoteThe term principal here refers to a user or group that is defined in AWS SSO.
NoteAs part of a successful CreateAccountAssignment call, the specified permission set will automatically be provisioned to the account in the form of an IAM policy. That policy is attached to the SSO-created IAM role. If the permission set is subsequently updated, the corresponding IAM policies attached to roles in your accounts will not be updated automatically. In this case, you must call ProvisionPermissionSet (p. 77) to make these updates.
Request Syntax
{
"InstanceArn": "string", "PermissionSetArn": "string", "PrincipalId": "string", "PrincipalType": "string", "TargetId": "string", "TargetType": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
InstanceArn (p. 6)
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes PermissionSetArn (p. 6)
The ARN of the permission set that the admin wants to grant the principal access to.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::permissionSet/
(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16}
Required: Yes
Response Syntax
PrincipalId (p. 6)
An identifier for an object in AWS SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API Reference.
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: Yes PrincipalType (p. 6)
The entity type for which the assignment will be created.
Type: String
Valid Values: USER | GROUP Required: Yes
TargetId (p. 6)
TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).
Type: String
Length Constraints: Fixed length of 12.
Pattern: \d{12}
Required: Yes TargetType (p. 6)
The entity type for which the assignment will be created.
Type: String
Valid Values: AWS_ACCOUNT Required: Yes
Response Syntax
{ "AccountAssignmentCreationStatus": { "CreatedDate": number,
"FailureReason": "string", "PermissionSetArn": "string", "PrincipalId": "string", "PrincipalType": "string", "RequestId": "string", "Status": "string", "TargetId": "string", "TargetType": "string"
}
Response Elements
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
AccountAssignmentCreationStatus (p. 7)
The status object for the account assignment creation operation.
Type: AccountAssignmentOperationStatus (p. 99) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 114).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 400 ConflictException
Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
HTTP Status Code: 400 InternalServerException
The request processing has failed because of an unknown error, exception, or failure with an internal server.
HTTP Status Code: 400 ResourceNotFoundException
Indicates that a requested resource is not found.
HTTP Status Code: 400 ServiceQuotaExceededException
Indicates that the principal has crossed the permitted number of resources that can be created.
HTTP Status Code: 400 ThrottlingException
Indicates that the principal has crossed the throttling limits of the API operations.
HTTP Status Code: 400 ValidationException
The request failed because it contains a syntax error.
HTTP Status Code: 400
See Also
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
CreateInstanceAccessControlAttributeConfiguration
CreateInstanceAccessControlAttributeConfiguration
Enables the attributes-based access control (ABAC) feature for the specified AWS SSO instance. You can also specify new attributes to add to your ABAC configuration during the enabling process. For more information about ABAC, see Attribute-Based Access Control in the AWS SSO User Guide.
Request Syntax
{
"InstanceAccessControlAttributeConfiguration": { "AccessControlAttributes": [
{
"Key": "string", "Value": {
"Source": [ "string" ] }
} ] },
"InstanceArn": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
InstanceAccessControlAttributeConfiguration (p. 10)
Specifies the AWS SSO identity store attributes to add to your ABAC configuration. When using an external identity provider as an identity source, you can pass attributes through the SAML assertion.
Doing so provides an alternative to configuring attributes from the AWS SSO identity store. If a SAML assertion passes any of these attributes, AWS SSO will replace the attribute value with the value from the AWS SSO identity store.
Type: InstanceAccessControlAttributeConfiguration (p. 103) object Required: Yes
InstanceArn (p. 10)
The ARN of the SSO instance under which the operation will be executed.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
Errors
For information about the errors that are common to all actions, see Common Errors (p. 114).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 400 ConflictException
Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
HTTP Status Code: 400 InternalServerException
The request processing has failed because of an unknown error, exception, or failure with an internal server.
HTTP Status Code: 400 ResourceNotFoundException
Indicates that a requested resource is not found.
HTTP Status Code: 400 ThrottlingException
Indicates that the principal has crossed the throttling limits of the API operations.
HTTP Status Code: 400 ValidationException
The request failed because it contains a syntax error.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
CreatePermissionSet
CreatePermissionSet
Creates a permission set within a specified SSO instance.
NoteTo grant users and groups access to AWS account resources, use CreateAccountAssignment (p. 6) .
Request Syntax
{ "Description": "string", "InstanceArn": "string", "Name": "string",
"RelayState": "string", "SessionDuration": "string", "Tags": [
{
"Key": "string", "Value": "string"
} ] }
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
Description (p. 12)
The description of the PermissionSet (p. 106).
Type: String
Length Constraints: Minimum length of 1. Maximum length of 700.
Pattern: [\u0009\u000A\u000D\u0020-\u007E\u00A0-\u00FF]*
Required: No InstanceArn (p. 12)
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes Name (p. 12)
The name of the PermissionSet (p. 106).
Response Syntax
Type: String
Length Constraints: Minimum length of 1. Maximum length of 32.
Pattern: [\w+=,.@-]+
Required: Yes RelayState (p. 12)
Used to redirect users within the application during the federation authentication process.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 240.
Pattern: [a-zA-Z0-9&$@#\\\/%?=~\-_'"|!:,.;*+\[\]\ \(\)\{\}]+
Required: No SessionDuration (p. 12)
The length of time that the application user sessions are valid in the ISO-8601 standard.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 100.
Pattern: ^(-?)P(?=\d|T\d)(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)([DW]))?(?:T(?:(\d+)H)?
(?:(\d+)M)?(?:(\d+(?:\.\d+)?)S)?)?$
Required: No Tags (p. 12)
The tags to attach to the new PermissionSet (p. 106).
Type: Array of Tag (p. 111) objects
Array Members: Minimum number of 0 items. Maximum number of 50 items.
Required: No
Response Syntax
{
"PermissionSet": { "CreatedDate": number, "Description": "string", "Name": "string",
"PermissionSetArn": "string", "RelayState": "string", "SessionDuration": "string"
}}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
Errors
PermissionSet (p. 13)
Defines the level of access on an AWS account.
Type: PermissionSet (p. 106) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 114).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 400 ConflictException
Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
HTTP Status Code: 400 InternalServerException
The request processing has failed because of an unknown error, exception, or failure with an internal server.
HTTP Status Code: 400 ResourceNotFoundException
Indicates that a requested resource is not found.
HTTP Status Code: 400 ServiceQuotaExceededException
Indicates that the principal has crossed the permitted number of resources that can be created.
HTTP Status Code: 400 ThrottlingException
Indicates that the principal has crossed the throttling limits of the API operations.
HTTP Status Code: 400 ValidationException
The request failed because it contains a syntax error.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
See Also
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DeleteAccountAssignment
DeleteAccountAssignment
Deletes a principal's access from a specified AWS account using a specified permission set.
Request Syntax
{
"InstanceArn": "string", "PermissionSetArn": "string", "PrincipalId": "string", "PrincipalType": "string", "TargetId": "string", "TargetType": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
InstanceArn (p. 16)
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes PermissionSetArn (p. 16)
The ARN of the permission set that will be used to remove access.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::permissionSet/
(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16}
Required: Yes PrincipalId (p. 16)
An identifier for an object in AWS SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API Reference.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 47.
Response Syntax
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: Yes PrincipalType (p. 16)
The entity type for which the assignment will be deleted.
Type: String
Valid Values: USER | GROUP Required: Yes
TargetId (p. 16)
TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).
Type: String
Length Constraints: Fixed length of 12.
Pattern: \d{12}
Required: Yes TargetType (p. 16)
The entity type for which the assignment will be deleted.
Type: String
Valid Values: AWS_ACCOUNT Required: Yes
Response Syntax
{
"AccountAssignmentDeletionStatus": { "CreatedDate": number,
"FailureReason": "string", "PermissionSetArn": "string", "PrincipalId": "string", "PrincipalType": "string", "RequestId": "string", "Status": "string", "TargetId": "string", "TargetType": "string"
}}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
AccountAssignmentDeletionStatus (p. 17)
The status object for the account assignment deletion operation.
Errors
Type: AccountAssignmentOperationStatus (p. 99) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 114).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 400 ConflictException
Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
HTTP Status Code: 400 InternalServerException
The request processing has failed because of an unknown error, exception, or failure with an internal server.
HTTP Status Code: 400 ResourceNotFoundException
Indicates that a requested resource is not found.
HTTP Status Code: 400 ThrottlingException
Indicates that the principal has crossed the throttling limits of the API operations.
HTTP Status Code: 400 ValidationException
The request failed because it contains a syntax error.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
See Also
DeleteInlinePolicyFromPermissionSet
DeleteInlinePolicyFromPermissionSet
Deletes the inline policy from a specified permission set.
Request Syntax
{ "InstanceArn": "string", "PermissionSetArn": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
InstanceArn (p. 20)
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes PermissionSetArn (p. 20)
The ARN of the permission set that will be used to remove access.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::permissionSet/
(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16}
Required: Yes
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors (p. 114).
AccessDeniedException
You do not have sufficient access to perform this action.
See Also
HTTP Status Code: 400 ConflictException
Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
HTTP Status Code: 400 InternalServerException
The request processing has failed because of an unknown error, exception, or failure with an internal server.
HTTP Status Code: 400 ResourceNotFoundException
Indicates that a requested resource is not found.
HTTP Status Code: 400 ThrottlingException
Indicates that the principal has crossed the throttling limits of the API operations.
HTTP Status Code: 400 ValidationException
The request failed because it contains a syntax error.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DeleteInstanceAccessControlAttributeConfiguration
DeleteInstanceAccessControlAttributeConfiguration
Disables the attributes-based access control (ABAC) feature for the specified AWS SSO instance and deletes all of the attribute mappings that have been configured. Once deleted, any attributes that are received from an identity source and any custom attributes you have previously configured will not be passed. For more information about ABAC, see Attribute-Based Access Control in the AWS SSO User Guide.
Request Syntax
{ "InstanceArn": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
InstanceArn (p. 22)
The ARN of the SSO instance under which the operation will be executed.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors (p. 114).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 400 ConflictException
Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
HTTP Status Code: 400
See Also
InternalServerException
The request processing has failed because of an unknown error, exception, or failure with an internal server.
HTTP Status Code: 400 ResourceNotFoundException
Indicates that a requested resource is not found.
HTTP Status Code: 400 ThrottlingException
Indicates that the principal has crossed the throttling limits of the API operations.
HTTP Status Code: 400 ValidationException
The request failed because it contains a syntax error.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DeletePermissionSet
DeletePermissionSet
Deletes the specified permission set.
Request Syntax
{ "InstanceArn": "string", "PermissionSetArn": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
InstanceArn (p. 24)
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes PermissionSetArn (p. 24)
The ARN of the permission set that should be deleted.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::permissionSet/
(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16}
Required: Yes
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors (p. 114).
AccessDeniedException
You do not have sufficient access to perform this action.
See Also
HTTP Status Code: 400 ConflictException
Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
HTTP Status Code: 400 InternalServerException
The request processing has failed because of an unknown error, exception, or failure with an internal server.
HTTP Status Code: 400 ResourceNotFoundException
Indicates that a requested resource is not found.
HTTP Status Code: 400 ThrottlingException
Indicates that the principal has crossed the throttling limits of the API operations.
HTTP Status Code: 400 ValidationException
The request failed because it contains a syntax error.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DescribeAccountAssignmentCreationStatus
DescribeAccountAssignmentCreationStatus
Describes the status of the assignment creation request.
Request Syntax
{ "AccountAssignmentCreationRequestId": "string", "InstanceArn": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
AccountAssignmentCreationRequestId (p. 26)
The identifier that is used to track the request operation progress.
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: Yes
InstanceArn (p. 26)
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes
Response Syntax
{ "AccountAssignmentCreationStatus": { "CreatedDate": number,
"FailureReason": "string", "PermissionSetArn": "string", "PrincipalId": "string", "PrincipalType": "string", "RequestId": "string", "Status": "string",
Response Elements
"TargetId": "string", "TargetType": "string"
}}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
AccountAssignmentCreationStatus (p. 26)
The status object for the account assignment creation operation.
Type: AccountAssignmentOperationStatus (p. 99) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 114).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 400 InternalServerException
The request processing has failed because of an unknown error, exception, or failure with an internal server.
HTTP Status Code: 400 ResourceNotFoundException
Indicates that a requested resource is not found.
HTTP Status Code: 400 ThrottlingException
Indicates that the principal has crossed the throttling limits of the API operations.
HTTP Status Code: 400 ValidationException
The request failed because it contains a syntax error.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
See Also
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DescribeAccountAssignmentDeletionStatus
DescribeAccountAssignmentDeletionStatus
Describes the status of the assignment deletion request.
Request Syntax
{ "AccountAssignmentDeletionRequestId": "string", "InstanceArn": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
AccountAssignmentDeletionRequestId (p. 29)
The identifier that is used to track the request operation progress.
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: Yes
InstanceArn (p. 29)
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes
Response Syntax
{ "AccountAssignmentDeletionStatus": { "CreatedDate": number,
"FailureReason": "string", "PermissionSetArn": "string", "PrincipalId": "string", "PrincipalType": "string", "RequestId": "string", "Status": "string",
Response Elements
"TargetId": "string", "TargetType": "string"
}}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
AccountAssignmentDeletionStatus (p. 29)
The status object for the account assignment deletion operation.
Type: AccountAssignmentOperationStatus (p. 99) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 114).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 400 InternalServerException
The request processing has failed because of an unknown error, exception, or failure with an internal server.
HTTP Status Code: 400 ResourceNotFoundException
Indicates that a requested resource is not found.
HTTP Status Code: 400 ThrottlingException
Indicates that the principal has crossed the throttling limits of the API operations.
HTTP Status Code: 400 ValidationException
The request failed because it contains a syntax error.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
See Also
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DescribeInstanceAccessControlAttributeConfiguration
DescribeInstanceAccessControlAttributeConfiguration
Returns the list of AWS SSO identity store attributes that have been configured to work with attributes- based access control (ABAC) for the specified AWS SSO instance. This will not return attributes
configured and sent by an external identity provider. For more information about ABAC, see Attribute- Based Access Control in the AWS SSO User Guide.
Request Syntax
{ "InstanceArn": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
InstanceArn (p. 32)
The ARN of the SSO instance under which the operation will be executed.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes
Response Syntax
{
"InstanceAccessControlAttributeConfiguration": { "AccessControlAttributes": [
{
"Key": "string", "Value": {
"Source": [ "string" ] }
} ] },
"Status": "string", "StatusReason": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
Errors
InstanceAccessControlAttributeConfiguration (p. 32)
Gets the list of AWS SSO identity store attributes that have been added to your ABAC configuration.
Type: InstanceAccessControlAttributeConfiguration (p. 103) object Status (p. 32)
The status of the attribute configuration process.
Type: String
Valid Values: ENABLED | CREATION_IN_PROGRESS | CREATION_FAILED StatusReason (p. 32)
Provides more details about the current status of the specified attribute.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors (p. 114).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 400 InternalServerException
The request processing has failed because of an unknown error, exception, or failure with an internal server.
HTTP Status Code: 400 ResourceNotFoundException
Indicates that a requested resource is not found.
HTTP Status Code: 400 ThrottlingException
Indicates that the principal has crossed the throttling limits of the API operations.
HTTP Status Code: 400 ValidationException
The request failed because it contains a syntax error.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
See Also
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DescribePermissionSet
DescribePermissionSet
Gets the details of the permission set.
Request Syntax
{
"InstanceArn": "string", "PermissionSetArn": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
InstanceArn (p. 35)
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes PermissionSetArn (p. 35)
The ARN of the permission set.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::permissionSet/
(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16}
Required: Yes
Response Syntax
{
"PermissionSet": { "CreatedDate": number, "Description": "string", "Name": "string",
"PermissionSetArn": "string", "RelayState": "string", "SessionDuration": "string"
Response Elements
} }
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
PermissionSet (p. 35)
Describes the level of access on an AWS account.
Type: PermissionSet (p. 106) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 114).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 400 InternalServerException
The request processing has failed because of an unknown error, exception, or failure with an internal server.
HTTP Status Code: 400 ResourceNotFoundException
Indicates that a requested resource is not found.
HTTP Status Code: 400 ThrottlingException
Indicates that the principal has crossed the throttling limits of the API operations.
HTTP Status Code: 400 ValidationException
The request failed because it contains a syntax error.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
See Also
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DescribePermissionSetProvisioningStatus
DescribePermissionSetProvisioningStatus
Describes the status for the given permission set provisioning request.
Request Syntax
{
"InstanceArn": "string",
"ProvisionPermissionSetRequestId": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
InstanceArn (p. 38)
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes
ProvisionPermissionSetRequestId (p. 38)
The identifier that is provided by the ProvisionPermissionSet (p. 77) call to retrieve the current status of the provisioning 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: Yes
Response Syntax
{
"PermissionSetProvisioningStatus": { "AccountId": "string",
"CreatedDate": number, "FailureReason": "string", "PermissionSetArn": "string", "RequestId": "string", "Status": "string"
Response Elements
} }
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
PermissionSetProvisioningStatus (p. 38)
The status object for the permission set provisioning operation.
Type: PermissionSetProvisioningStatus (p. 108) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 114).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 400 InternalServerException
The request processing has failed because of an unknown error, exception, or failure with an internal server.
HTTP Status Code: 400 ResourceNotFoundException
Indicates that a requested resource is not found.
HTTP Status Code: 400 ThrottlingException
Indicates that the principal has crossed the throttling limits of the API operations.
HTTP Status Code: 400 ValidationException
The request failed because it contains a syntax error.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
See Also
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DetachManagedPolicyFromPermissionSet
DetachManagedPolicyFromPermissionSet
Detaches the attached IAM managed policy ARN from the specified permission set.
Request Syntax
{
"InstanceArn": "string", "ManagedPolicyArn": "string", "PermissionSetArn": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
InstanceArn (p. 41)
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes
ManagedPolicyArn (p. 41)
The IAM managed policy ARN to be detached from a permission set.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 2048.
Required: Yes PermissionSetArn (p. 41)
The ARN of the PermissionSet (p. 106) from which the policy should be detached.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::permissionSet/
(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16}
Required: Yes
Response Elements
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors (p. 114).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 400 ConflictException
Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
HTTP Status Code: 400 InternalServerException
The request processing has failed because of an unknown error, exception, or failure with an internal server.
HTTP Status Code: 400 ResourceNotFoundException
Indicates that a requested resource is not found.
HTTP Status Code: 400 ThrottlingException
Indicates that the principal has crossed the throttling limits of the API operations.
HTTP Status Code: 400 ValidationException
The request failed because it contains a syntax error.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
See Also
• AWS SDK for Ruby V3
GetInlinePolicyForPermissionSet
GetInlinePolicyForPermissionSet
Obtains the inline policy assigned to the permission set.
Request Syntax
{ "InstanceArn": "string", "PermissionSetArn": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
InstanceArn (p. 44)
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes PermissionSetArn (p. 44)
The ARN of the permission set.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::permissionSet/
(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16}
Required: Yes
Response Syntax
{ "InlinePolicy": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
Errors
The following data is returned in JSON format by the service.
InlinePolicy (p. 44)
The IAM inline policy that is attached to the permission set.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 10240.
Pattern: [\u0009\u000A\u000D\u0020-\u00FF]+
Errors
For information about the errors that are common to all actions, see Common Errors (p. 114).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 400 InternalServerException
The request processing has failed because of an unknown error, exception, or failure with an internal server.
HTTP Status Code: 400 ResourceNotFoundException
Indicates that a requested resource is not found.
HTTP Status Code: 400 ThrottlingException
Indicates that the principal has crossed the throttling limits of the API operations.
HTTP Status Code: 400 ValidationException
The request failed because it contains a syntax error.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
See Also
• AWS SDK for Ruby V3
ListAccountAssignmentCreationStatus
ListAccountAssignmentCreationStatus
Lists the status of the AWS account assignment creation requests for a specified SSO instance.
Request Syntax
{ "Filter": {
"Status": "string"
},
"InstanceArn": "string", "MaxResults": number, "NextToken": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
Filter (p. 47)
Filters results based on the passed attribute value.
Type: OperationStatusFilter (p. 105) object Required: No
InstanceArn (p. 47)
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes MaxResults (p. 47)
The maximum number of results to display for the assignment.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 100.
Required: No NextToken (p. 47)
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
Response Syntax
Type: String
Length Constraints: Maximum length of 2048.
Pattern: ^[-a-zA-Z0-9+=/_]*
Required: No
Response Syntax
{ "AccountAssignmentsCreationStatus": [ {
"CreatedDate": number, "RequestId": "string", "Status": "string"
} ],
"NextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
AccountAssignmentsCreationStatus (p. 48)
The status object for the account assignment creation operation.
Type: Array of AccountAssignmentOperationStatusMetadata (p. 101) objects NextToken (p. 48)
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
Type: String
Length Constraints: Maximum length of 2048.
Pattern: ^[-a-zA-Z0-9+=/_]*
Errors
For information about the errors that are common to all actions, see Common Errors (p. 114).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 400 InternalServerException
The request processing has failed because of an unknown error, exception, or failure with an internal server.
See Also
HTTP Status Code: 400 ResourceNotFoundException
Indicates that a requested resource is not found.
HTTP Status Code: 400 ThrottlingException
Indicates that the principal has crossed the throttling limits of the API operations.
HTTP Status Code: 400 ValidationException
The request failed because it contains a syntax error.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
ListAccountAssignmentDeletionStatus
ListAccountAssignmentDeletionStatus
Lists the status of the AWS account assignment deletion requests for a specified SSO instance.
Request Syntax
{ "Filter": {
"Status": "string"
},
"InstanceArn": "string", "MaxResults": number, "NextToken": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 112).
The request accepts the following data in JSON format.
Filter (p. 50)
Filters results based on the passed attribute value.
Type: OperationStatusFilter (p. 105) object Required: No
InstanceArn (p. 50)
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Type: String
Length Constraints: Minimum length of 10. Maximum length of 1224.
Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?
ins-[a-zA-Z0-9-.]{16}
Required: Yes MaxResults (p. 50)
The maximum number of results to display for the assignment.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 100.
Required: No NextToken (p. 50)
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.