@Generated(value="software.amazon.awssdk:codegen") public interface SsoAdminClient extends SdkClient
builder()
method.
nullModifier and Type | Field and Description |
---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider . |
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
default AttachManagedPolicyToPermissionSetResponse |
attachManagedPolicyToPermissionSet(AttachManagedPolicyToPermissionSetRequest attachManagedPolicyToPermissionSetRequest)
Attaches an IAM managed policy ARN to a permission set.
|
default AttachManagedPolicyToPermissionSetResponse |
attachManagedPolicyToPermissionSet(Consumer<AttachManagedPolicyToPermissionSetRequest.Builder> attachManagedPolicyToPermissionSetRequest)
Attaches an IAM managed policy ARN to a permission set.
|
static SsoAdminClientBuilder |
builder()
Create a builder that can be used to configure and create a
SsoAdminClient . |
static SsoAdminClient |
create()
Create a
SsoAdminClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CreateAccountAssignmentResponse |
createAccountAssignment(Consumer<CreateAccountAssignmentRequest.Builder> createAccountAssignmentRequest)
Assigns access to a principal for a specified AWS account using a specified permission set.
|
default CreateAccountAssignmentResponse |
createAccountAssignment(CreateAccountAssignmentRequest createAccountAssignmentRequest)
Assigns access to a principal for a specified AWS account using a specified permission set.
|
default CreateInstanceAccessControlAttributeConfigurationResponse |
createInstanceAccessControlAttributeConfiguration(Consumer<CreateInstanceAccessControlAttributeConfigurationRequest.Builder> createInstanceAccessControlAttributeConfigurationRequest)
Enables the attributes-based access control (ABAC) feature for the specified AWS SSO instance.
|
default CreateInstanceAccessControlAttributeConfigurationResponse |
createInstanceAccessControlAttributeConfiguration(CreateInstanceAccessControlAttributeConfigurationRequest createInstanceAccessControlAttributeConfigurationRequest)
Enables the attributes-based access control (ABAC) feature for the specified AWS SSO instance.
|
default CreatePermissionSetResponse |
createPermissionSet(Consumer<CreatePermissionSetRequest.Builder> createPermissionSetRequest)
Creates a permission set within a specified SSO instance.
|
default CreatePermissionSetResponse |
createPermissionSet(CreatePermissionSetRequest createPermissionSetRequest)
Creates a permission set within a specified SSO instance.
|
default DeleteAccountAssignmentResponse |
deleteAccountAssignment(Consumer<DeleteAccountAssignmentRequest.Builder> deleteAccountAssignmentRequest)
Deletes a principal's access from a specified AWS account using a specified permission set.
|
default DeleteAccountAssignmentResponse |
deleteAccountAssignment(DeleteAccountAssignmentRequest deleteAccountAssignmentRequest)
Deletes a principal's access from a specified AWS account using a specified permission set.
|
default DeleteInlinePolicyFromPermissionSetResponse |
deleteInlinePolicyFromPermissionSet(Consumer<DeleteInlinePolicyFromPermissionSetRequest.Builder> deleteInlinePolicyFromPermissionSetRequest)
Deletes the inline policy from a specified permission set.
|
default DeleteInlinePolicyFromPermissionSetResponse |
deleteInlinePolicyFromPermissionSet(DeleteInlinePolicyFromPermissionSetRequest deleteInlinePolicyFromPermissionSetRequest)
Deletes the inline policy from a specified permission set.
|
default DeleteInstanceAccessControlAttributeConfigurationResponse |
deleteInstanceAccessControlAttributeConfiguration(Consumer<DeleteInstanceAccessControlAttributeConfigurationRequest.Builder> deleteInstanceAccessControlAttributeConfigurationRequest)
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.
|
default DeleteInstanceAccessControlAttributeConfigurationResponse |
deleteInstanceAccessControlAttributeConfiguration(DeleteInstanceAccessControlAttributeConfigurationRequest deleteInstanceAccessControlAttributeConfigurationRequest)
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.
|
default DeletePermissionSetResponse |
deletePermissionSet(Consumer<DeletePermissionSetRequest.Builder> deletePermissionSetRequest)
Deletes the specified permission set.
|
default DeletePermissionSetResponse |
deletePermissionSet(DeletePermissionSetRequest deletePermissionSetRequest)
Deletes the specified permission set.
|
default DescribeAccountAssignmentCreationStatusResponse |
describeAccountAssignmentCreationStatus(Consumer<DescribeAccountAssignmentCreationStatusRequest.Builder> describeAccountAssignmentCreationStatusRequest)
Describes the status of the assignment creation request.
|
default DescribeAccountAssignmentCreationStatusResponse |
describeAccountAssignmentCreationStatus(DescribeAccountAssignmentCreationStatusRequest describeAccountAssignmentCreationStatusRequest)
Describes the status of the assignment creation request.
|
default DescribeAccountAssignmentDeletionStatusResponse |
describeAccountAssignmentDeletionStatus(Consumer<DescribeAccountAssignmentDeletionStatusRequest.Builder> describeAccountAssignmentDeletionStatusRequest)
Describes the status of the assignment deletion request.
|
default DescribeAccountAssignmentDeletionStatusResponse |
describeAccountAssignmentDeletionStatus(DescribeAccountAssignmentDeletionStatusRequest describeAccountAssignmentDeletionStatusRequest)
Describes the status of the assignment deletion request.
|
default DescribeInstanceAccessControlAttributeConfigurationResponse |
describeInstanceAccessControlAttributeConfiguration(Consumer<DescribeInstanceAccessControlAttributeConfigurationRequest.Builder> describeInstanceAccessControlAttributeConfigurationRequest)
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.
|
default DescribeInstanceAccessControlAttributeConfigurationResponse |
describeInstanceAccessControlAttributeConfiguration(DescribeInstanceAccessControlAttributeConfigurationRequest describeInstanceAccessControlAttributeConfigurationRequest)
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.
|
default DescribePermissionSetResponse |
describePermissionSet(Consumer<DescribePermissionSetRequest.Builder> describePermissionSetRequest)
Gets the details of the permission set.
|
default DescribePermissionSetResponse |
describePermissionSet(DescribePermissionSetRequest describePermissionSetRequest)
Gets the details of the permission set.
|
default DescribePermissionSetProvisioningStatusResponse |
describePermissionSetProvisioningStatus(Consumer<DescribePermissionSetProvisioningStatusRequest.Builder> describePermissionSetProvisioningStatusRequest)
Describes the status for the given permission set provisioning request.
|
default DescribePermissionSetProvisioningStatusResponse |
describePermissionSetProvisioningStatus(DescribePermissionSetProvisioningStatusRequest describePermissionSetProvisioningStatusRequest)
Describes the status for the given permission set provisioning request.
|
default DetachManagedPolicyFromPermissionSetResponse |
detachManagedPolicyFromPermissionSet(Consumer<DetachManagedPolicyFromPermissionSetRequest.Builder> detachManagedPolicyFromPermissionSetRequest)
Detaches the attached IAM managed policy ARN from the specified permission set.
|
default DetachManagedPolicyFromPermissionSetResponse |
detachManagedPolicyFromPermissionSet(DetachManagedPolicyFromPermissionSetRequest detachManagedPolicyFromPermissionSetRequest)
Detaches the attached IAM managed policy ARN from the specified permission set.
|
default GetInlinePolicyForPermissionSetResponse |
getInlinePolicyForPermissionSet(Consumer<GetInlinePolicyForPermissionSetRequest.Builder> getInlinePolicyForPermissionSetRequest)
Obtains the inline policy assigned to the permission set.
|
default GetInlinePolicyForPermissionSetResponse |
getInlinePolicyForPermissionSet(GetInlinePolicyForPermissionSetRequest getInlinePolicyForPermissionSetRequest)
Obtains the inline policy assigned to the permission set.
|
default ListAccountAssignmentCreationStatusResponse |
listAccountAssignmentCreationStatus(Consumer<ListAccountAssignmentCreationStatusRequest.Builder> listAccountAssignmentCreationStatusRequest)
Lists the status of the AWS account assignment creation requests for a specified SSO instance.
|
default ListAccountAssignmentCreationStatusResponse |
listAccountAssignmentCreationStatus(ListAccountAssignmentCreationStatusRequest listAccountAssignmentCreationStatusRequest)
Lists the status of the AWS account assignment creation requests for a specified SSO instance.
|
default ListAccountAssignmentCreationStatusIterable |
listAccountAssignmentCreationStatusPaginator(Consumer<ListAccountAssignmentCreationStatusRequest.Builder> listAccountAssignmentCreationStatusRequest)
Lists the status of the AWS account assignment creation requests for a specified SSO instance.
|
default ListAccountAssignmentCreationStatusIterable |
listAccountAssignmentCreationStatusPaginator(ListAccountAssignmentCreationStatusRequest listAccountAssignmentCreationStatusRequest)
Lists the status of the AWS account assignment creation requests for a specified SSO instance.
|
default ListAccountAssignmentDeletionStatusResponse |
listAccountAssignmentDeletionStatus(Consumer<ListAccountAssignmentDeletionStatusRequest.Builder> listAccountAssignmentDeletionStatusRequest)
Lists the status of the AWS account assignment deletion requests for a specified SSO instance.
|
default ListAccountAssignmentDeletionStatusResponse |
listAccountAssignmentDeletionStatus(ListAccountAssignmentDeletionStatusRequest listAccountAssignmentDeletionStatusRequest)
Lists the status of the AWS account assignment deletion requests for a specified SSO instance.
|
default ListAccountAssignmentDeletionStatusIterable |
listAccountAssignmentDeletionStatusPaginator(Consumer<ListAccountAssignmentDeletionStatusRequest.Builder> listAccountAssignmentDeletionStatusRequest)
Lists the status of the AWS account assignment deletion requests for a specified SSO instance.
|
default ListAccountAssignmentDeletionStatusIterable |
listAccountAssignmentDeletionStatusPaginator(ListAccountAssignmentDeletionStatusRequest listAccountAssignmentDeletionStatusRequest)
Lists the status of the AWS account assignment deletion requests for a specified SSO instance.
|
default ListAccountAssignmentsResponse |
listAccountAssignments(Consumer<ListAccountAssignmentsRequest.Builder> listAccountAssignmentsRequest)
Lists the assignee of the specified AWS account with the specified permission set.
|
default ListAccountAssignmentsResponse |
listAccountAssignments(ListAccountAssignmentsRequest listAccountAssignmentsRequest)
Lists the assignee of the specified AWS account with the specified permission set.
|
default ListAccountAssignmentsIterable |
listAccountAssignmentsPaginator(Consumer<ListAccountAssignmentsRequest.Builder> listAccountAssignmentsRequest)
Lists the assignee of the specified AWS account with the specified permission set.
|
default ListAccountAssignmentsIterable |
listAccountAssignmentsPaginator(ListAccountAssignmentsRequest listAccountAssignmentsRequest)
Lists the assignee of the specified AWS account with the specified permission set.
|
default ListAccountsForProvisionedPermissionSetResponse |
listAccountsForProvisionedPermissionSet(Consumer<ListAccountsForProvisionedPermissionSetRequest.Builder> listAccountsForProvisionedPermissionSetRequest)
Lists all the AWS accounts where the specified permission set is provisioned.
|
default ListAccountsForProvisionedPermissionSetResponse |
listAccountsForProvisionedPermissionSet(ListAccountsForProvisionedPermissionSetRequest listAccountsForProvisionedPermissionSetRequest)
Lists all the AWS accounts where the specified permission set is provisioned.
|
default ListAccountsForProvisionedPermissionSetIterable |
listAccountsForProvisionedPermissionSetPaginator(Consumer<ListAccountsForProvisionedPermissionSetRequest.Builder> listAccountsForProvisionedPermissionSetRequest)
Lists all the AWS accounts where the specified permission set is provisioned.
|
default ListAccountsForProvisionedPermissionSetIterable |
listAccountsForProvisionedPermissionSetPaginator(ListAccountsForProvisionedPermissionSetRequest listAccountsForProvisionedPermissionSetRequest)
Lists all the AWS accounts where the specified permission set is provisioned.
|
default ListInstancesResponse |
listInstances(Consumer<ListInstancesRequest.Builder> listInstancesRequest)
Lists the SSO instances that the caller has access to.
|
default ListInstancesResponse |
listInstances(ListInstancesRequest listInstancesRequest)
Lists the SSO instances that the caller has access to.
|
default ListInstancesIterable |
listInstancesPaginator(Consumer<ListInstancesRequest.Builder> listInstancesRequest)
Lists the SSO instances that the caller has access to.
|
default ListInstancesIterable |
listInstancesPaginator(ListInstancesRequest listInstancesRequest)
Lists the SSO instances that the caller has access to.
|
default ListManagedPoliciesInPermissionSetResponse |
listManagedPoliciesInPermissionSet(Consumer<ListManagedPoliciesInPermissionSetRequest.Builder> listManagedPoliciesInPermissionSetRequest)
Lists the IAM managed policy that is attached to a specified permission set.
|
default ListManagedPoliciesInPermissionSetResponse |
listManagedPoliciesInPermissionSet(ListManagedPoliciesInPermissionSetRequest listManagedPoliciesInPermissionSetRequest)
Lists the IAM managed policy that is attached to a specified permission set.
|
default ListManagedPoliciesInPermissionSetIterable |
listManagedPoliciesInPermissionSetPaginator(Consumer<ListManagedPoliciesInPermissionSetRequest.Builder> listManagedPoliciesInPermissionSetRequest)
Lists the IAM managed policy that is attached to a specified permission set.
|
default ListManagedPoliciesInPermissionSetIterable |
listManagedPoliciesInPermissionSetPaginator(ListManagedPoliciesInPermissionSetRequest listManagedPoliciesInPermissionSetRequest)
Lists the IAM managed policy that is attached to a specified permission set.
|
default ListPermissionSetProvisioningStatusResponse |
listPermissionSetProvisioningStatus(Consumer<ListPermissionSetProvisioningStatusRequest.Builder> listPermissionSetProvisioningStatusRequest)
Lists the status of the permission set provisioning requests for a specified SSO instance.
|
default ListPermissionSetProvisioningStatusResponse |
listPermissionSetProvisioningStatus(ListPermissionSetProvisioningStatusRequest listPermissionSetProvisioningStatusRequest)
Lists the status of the permission set provisioning requests for a specified SSO instance.
|
default ListPermissionSetProvisioningStatusIterable |
listPermissionSetProvisioningStatusPaginator(Consumer<ListPermissionSetProvisioningStatusRequest.Builder> listPermissionSetProvisioningStatusRequest)
Lists the status of the permission set provisioning requests for a specified SSO instance.
|
default ListPermissionSetProvisioningStatusIterable |
listPermissionSetProvisioningStatusPaginator(ListPermissionSetProvisioningStatusRequest listPermissionSetProvisioningStatusRequest)
Lists the status of the permission set provisioning requests for a specified SSO instance.
|
default ListPermissionSetsResponse |
listPermissionSets(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest)
Lists the PermissionSets in an SSO instance.
|
default ListPermissionSetsResponse |
listPermissionSets(ListPermissionSetsRequest listPermissionSetsRequest)
Lists the PermissionSets in an SSO instance.
|
default ListPermissionSetsIterable |
listPermissionSetsPaginator(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest)
Lists the PermissionSets in an SSO instance.
|
default ListPermissionSetsIterable |
listPermissionSetsPaginator(ListPermissionSetsRequest listPermissionSetsRequest)
Lists the PermissionSets in an SSO instance.
|
default ListPermissionSetsProvisionedToAccountResponse |
listPermissionSetsProvisionedToAccount(Consumer<ListPermissionSetsProvisionedToAccountRequest.Builder> listPermissionSetsProvisionedToAccountRequest)
Lists all the permission sets that are provisioned to a specified AWS account.
|
default ListPermissionSetsProvisionedToAccountResponse |
listPermissionSetsProvisionedToAccount(ListPermissionSetsProvisionedToAccountRequest listPermissionSetsProvisionedToAccountRequest)
Lists all the permission sets that are provisioned to a specified AWS account.
|
default ListPermissionSetsProvisionedToAccountIterable |
listPermissionSetsProvisionedToAccountPaginator(Consumer<ListPermissionSetsProvisionedToAccountRequest.Builder> listPermissionSetsProvisionedToAccountRequest)
Lists all the permission sets that are provisioned to a specified AWS account.
|
default ListPermissionSetsProvisionedToAccountIterable |
listPermissionSetsProvisionedToAccountPaginator(ListPermissionSetsProvisionedToAccountRequest listPermissionSetsProvisionedToAccountRequest)
Lists all the permission sets that are provisioned to a specified AWS account.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags that are attached to a specified resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags that are attached to a specified resource.
|
default ListTagsForResourceIterable |
listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags that are attached to a specified resource.
|
default ListTagsForResourceIterable |
listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags that are attached to a specified resource.
|
default ProvisionPermissionSetResponse |
provisionPermissionSet(Consumer<ProvisionPermissionSetRequest.Builder> provisionPermissionSetRequest)
The process by which a specified permission set is provisioned to the specified target.
|
default ProvisionPermissionSetResponse |
provisionPermissionSet(ProvisionPermissionSetRequest provisionPermissionSetRequest)
The process by which a specified permission set is provisioned to the specified target.
|
default PutInlinePolicyToPermissionSetResponse |
putInlinePolicyToPermissionSet(Consumer<PutInlinePolicyToPermissionSetRequest.Builder> putInlinePolicyToPermissionSetRequest)
Attaches an IAM inline policy to a permission set.
|
default PutInlinePolicyToPermissionSetResponse |
putInlinePolicyToPermissionSet(PutInlinePolicyToPermissionSetRequest putInlinePolicyToPermissionSetRequest)
Attaches an IAM inline policy to a permission set.
|
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Associates a set of tags with a specified resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Associates a set of tags with a specified resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Disassociates a set of tags from a specified resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Disassociates a set of tags from a specified resource.
|
default UpdateInstanceAccessControlAttributeConfigurationResponse |
updateInstanceAccessControlAttributeConfiguration(Consumer<UpdateInstanceAccessControlAttributeConfigurationRequest.Builder> updateInstanceAccessControlAttributeConfigurationRequest)
Updates the AWS SSO identity store attributes to use with the AWS SSO instance for attributes-based access
control (ABAC).
|
default UpdateInstanceAccessControlAttributeConfigurationResponse |
updateInstanceAccessControlAttributeConfiguration(UpdateInstanceAccessControlAttributeConfigurationRequest updateInstanceAccessControlAttributeConfigurationRequest)
Updates the AWS SSO identity store attributes to use with the AWS SSO instance for attributes-based access
control (ABAC).
|
default UpdatePermissionSetResponse |
updatePermissionSet(Consumer<UpdatePermissionSetRequest.Builder> updatePermissionSetRequest)
Updates an existing permission set.
|
default UpdatePermissionSetResponse |
updatePermissionSet(UpdatePermissionSetRequest updatePermissionSetRequest)
Updates an existing permission set.
|
serviceName
close
static final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider
.static SsoAdminClient create()
SsoAdminClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static SsoAdminClientBuilder builder()
SsoAdminClient
.default AttachManagedPolicyToPermissionSetResponse attachManagedPolicyToPermissionSet(AttachManagedPolicyToPermissionSetRequest attachManagedPolicyToPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Attaches an IAM managed policy ARN to a permission set.
If the permission set is already referenced by one or more account assignments, you will need to call
ProvisionPermissionSet
after this action to apply the corresponding IAM policy updates to
all assigned accounts.
attachManagedPolicyToPermissionSetRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ServiceQuotaExceededException
- Indicates that the principal has crossed the permitted number of resources that can be created.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default AttachManagedPolicyToPermissionSetResponse attachManagedPolicyToPermissionSet(Consumer<AttachManagedPolicyToPermissionSetRequest.Builder> attachManagedPolicyToPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Attaches an IAM managed policy ARN to a permission set.
If the permission set is already referenced by one or more account assignments, you will need to call
ProvisionPermissionSet
after this action to apply the corresponding IAM policy updates to
all assigned accounts.
This is a convenience which creates an instance of the AttachManagedPolicyToPermissionSetRequest.Builder
avoiding the need to create one manually via AttachManagedPolicyToPermissionSetRequest.builder()
attachManagedPolicyToPermissionSetRequest
- A Consumer
that will call methods on AttachManagedPolicyToPermissionSetRequest.Builder
to
create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ServiceQuotaExceededException
- Indicates that the principal has crossed the permitted number of resources that can be created.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateAccountAssignmentResponse createAccountAssignment(CreateAccountAssignmentRequest createAccountAssignmentRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Assigns access to a principal for a specified AWS account using a specified permission set.
The term principal here refers to a user or group that is defined in AWS SSO.
As part of a successful CreateAccountAssignment
call, the specified permission set will
automatically be provisioned to the account in the form of an IAM policy 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 will need to call
ProvisionPermissionSet
to make these updates.
createAccountAssignmentRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ServiceQuotaExceededException
- Indicates that the principal has crossed the permitted number of resources that can be created.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateAccountAssignmentResponse createAccountAssignment(Consumer<CreateAccountAssignmentRequest.Builder> createAccountAssignmentRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Assigns access to a principal for a specified AWS account using a specified permission set.
The term principal here refers to a user or group that is defined in AWS SSO.
As part of a successful CreateAccountAssignment
call, the specified permission set will
automatically be provisioned to the account in the form of an IAM policy 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 will need to call
ProvisionPermissionSet
to make these updates.
This is a convenience which creates an instance of the CreateAccountAssignmentRequest.Builder
avoiding
the need to create one manually via CreateAccountAssignmentRequest.builder()
createAccountAssignmentRequest
- A Consumer
that will call methods on CreateAccountAssignmentRequest.Builder
to create a
request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ServiceQuotaExceededException
- Indicates that the principal has crossed the permitted number of resources that can be created.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateInstanceAccessControlAttributeConfigurationResponse createInstanceAccessControlAttributeConfiguration(CreateInstanceAccessControlAttributeConfigurationRequest createInstanceAccessControlAttributeConfigurationRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
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.
createInstanceAccessControlAttributeConfigurationRequest
- InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.ResourceNotFoundException
- Indicates that a requested resource is not found.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateInstanceAccessControlAttributeConfigurationResponse createInstanceAccessControlAttributeConfiguration(Consumer<CreateInstanceAccessControlAttributeConfigurationRequest.Builder> createInstanceAccessControlAttributeConfigurationRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
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.
This is a convenience which creates an instance of the
CreateInstanceAccessControlAttributeConfigurationRequest.Builder
avoiding the need to create one manually
via CreateInstanceAccessControlAttributeConfigurationRequest.builder()
createInstanceAccessControlAttributeConfigurationRequest
- A Consumer
that will call methods on
CreateInstanceAccessControlAttributeConfigurationRequest.Builder
to create a request.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.ResourceNotFoundException
- Indicates that a requested resource is not found.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreatePermissionSetResponse createPermissionSet(CreatePermissionSetRequest createPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Creates a permission set within a specified SSO instance.
To grant users and groups access to AWS account resources, use CreateAccountAssignment
.
createPermissionSetRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ServiceQuotaExceededException
- Indicates that the principal has crossed the permitted number of resources that can be created.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreatePermissionSetResponse createPermissionSet(Consumer<CreatePermissionSetRequest.Builder> createPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Creates a permission set within a specified SSO instance.
To grant users and groups access to AWS account resources, use CreateAccountAssignment
.
This is a convenience which creates an instance of the CreatePermissionSetRequest.Builder
avoiding the
need to create one manually via CreatePermissionSetRequest.builder()
createPermissionSetRequest
- A Consumer
that will call methods on CreatePermissionSetRequest.Builder
to create a
request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ServiceQuotaExceededException
- Indicates that the principal has crossed the permitted number of resources that can be created.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteAccountAssignmentResponse deleteAccountAssignment(DeleteAccountAssignmentRequest deleteAccountAssignmentRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Deletes a principal's access from a specified AWS account using a specified permission set.
deleteAccountAssignmentRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteAccountAssignmentResponse deleteAccountAssignment(Consumer<DeleteAccountAssignmentRequest.Builder> deleteAccountAssignmentRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Deletes a principal's access from a specified AWS account using a specified permission set.
This is a convenience which creates an instance of the DeleteAccountAssignmentRequest.Builder
avoiding
the need to create one manually via DeleteAccountAssignmentRequest.builder()
deleteAccountAssignmentRequest
- A Consumer
that will call methods on DeleteAccountAssignmentRequest.Builder
to create a
request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteInlinePolicyFromPermissionSetResponse deleteInlinePolicyFromPermissionSet(DeleteInlinePolicyFromPermissionSetRequest deleteInlinePolicyFromPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Deletes the inline policy from a specified permission set.
deleteInlinePolicyFromPermissionSetRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteInlinePolicyFromPermissionSetResponse deleteInlinePolicyFromPermissionSet(Consumer<DeleteInlinePolicyFromPermissionSetRequest.Builder> deleteInlinePolicyFromPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Deletes the inline policy from a specified permission set.
This is a convenience which creates an instance of the DeleteInlinePolicyFromPermissionSetRequest.Builder
avoiding the need to create one manually via DeleteInlinePolicyFromPermissionSetRequest.builder()
deleteInlinePolicyFromPermissionSetRequest
- A Consumer
that will call methods on DeleteInlinePolicyFromPermissionSetRequest.Builder
to
create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteInstanceAccessControlAttributeConfigurationResponse deleteInstanceAccessControlAttributeConfiguration(DeleteInstanceAccessControlAttributeConfigurationRequest deleteInstanceAccessControlAttributeConfigurationRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
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.
deleteInstanceAccessControlAttributeConfigurationRequest
- InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.ResourceNotFoundException
- Indicates that a requested resource is not found.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteInstanceAccessControlAttributeConfigurationResponse deleteInstanceAccessControlAttributeConfiguration(Consumer<DeleteInstanceAccessControlAttributeConfigurationRequest.Builder> deleteInstanceAccessControlAttributeConfigurationRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
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.
This is a convenience which creates an instance of the
DeleteInstanceAccessControlAttributeConfigurationRequest.Builder
avoiding the need to create one manually
via DeleteInstanceAccessControlAttributeConfigurationRequest.builder()
deleteInstanceAccessControlAttributeConfigurationRequest
- A Consumer
that will call methods on
DeleteInstanceAccessControlAttributeConfigurationRequest.Builder
to create a request.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.ResourceNotFoundException
- Indicates that a requested resource is not found.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeletePermissionSetResponse deletePermissionSet(DeletePermissionSetRequest deletePermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Deletes the specified permission set.
deletePermissionSetRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeletePermissionSetResponse deletePermissionSet(Consumer<DeletePermissionSetRequest.Builder> deletePermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Deletes the specified permission set.
This is a convenience which creates an instance of the DeletePermissionSetRequest.Builder
avoiding the
need to create one manually via DeletePermissionSetRequest.builder()
deletePermissionSetRequest
- A Consumer
that will call methods on DeletePermissionSetRequest.Builder
to create a
request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeAccountAssignmentCreationStatusResponse describeAccountAssignmentCreationStatus(DescribeAccountAssignmentCreationStatusRequest describeAccountAssignmentCreationStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Describes the status of the assignment creation request.
describeAccountAssignmentCreationStatusRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeAccountAssignmentCreationStatusResponse describeAccountAssignmentCreationStatus(Consumer<DescribeAccountAssignmentCreationStatusRequest.Builder> describeAccountAssignmentCreationStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Describes the status of the assignment creation request.
This is a convenience which creates an instance of the
DescribeAccountAssignmentCreationStatusRequest.Builder
avoiding the need to create one manually via
DescribeAccountAssignmentCreationStatusRequest.builder()
describeAccountAssignmentCreationStatusRequest
- A Consumer
that will call methods on
DescribeAccountAssignmentCreationStatusRequest.Builder
to create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeAccountAssignmentDeletionStatusResponse describeAccountAssignmentDeletionStatus(DescribeAccountAssignmentDeletionStatusRequest describeAccountAssignmentDeletionStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Describes the status of the assignment deletion request.
describeAccountAssignmentDeletionStatusRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeAccountAssignmentDeletionStatusResponse describeAccountAssignmentDeletionStatus(Consumer<DescribeAccountAssignmentDeletionStatusRequest.Builder> describeAccountAssignmentDeletionStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Describes the status of the assignment deletion request.
This is a convenience which creates an instance of the
DescribeAccountAssignmentDeletionStatusRequest.Builder
avoiding the need to create one manually via
DescribeAccountAssignmentDeletionStatusRequest.builder()
describeAccountAssignmentDeletionStatusRequest
- A Consumer
that will call methods on
DescribeAccountAssignmentDeletionStatusRequest.Builder
to create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeInstanceAccessControlAttributeConfigurationResponse describeInstanceAccessControlAttributeConfiguration(DescribeInstanceAccessControlAttributeConfigurationRequest describeInstanceAccessControlAttributeConfigurationRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException
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.
describeInstanceAccessControlAttributeConfigurationRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeInstanceAccessControlAttributeConfigurationResponse describeInstanceAccessControlAttributeConfiguration(Consumer<DescribeInstanceAccessControlAttributeConfigurationRequest.Builder> describeInstanceAccessControlAttributeConfigurationRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException
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.
This is a convenience which creates an instance of the
DescribeInstanceAccessControlAttributeConfigurationRequest.Builder
avoiding the need to create one
manually via DescribeInstanceAccessControlAttributeConfigurationRequest.builder()
describeInstanceAccessControlAttributeConfigurationRequest
- A Consumer
that will call methods on
DescribeInstanceAccessControlAttributeConfigurationRequest.Builder
to create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribePermissionSetResponse describePermissionSet(DescribePermissionSetRequest describePermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Gets the details of the permission set.
describePermissionSetRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribePermissionSetResponse describePermissionSet(Consumer<DescribePermissionSetRequest.Builder> describePermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Gets the details of the permission set.
This is a convenience which creates an instance of the DescribePermissionSetRequest.Builder
avoiding the
need to create one manually via DescribePermissionSetRequest.builder()
describePermissionSetRequest
- A Consumer
that will call methods on DescribePermissionSetRequest.Builder
to create a
request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribePermissionSetProvisioningStatusResponse describePermissionSetProvisioningStatus(DescribePermissionSetProvisioningStatusRequest describePermissionSetProvisioningStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Describes the status for the given permission set provisioning request.
describePermissionSetProvisioningStatusRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribePermissionSetProvisioningStatusResponse describePermissionSetProvisioningStatus(Consumer<DescribePermissionSetProvisioningStatusRequest.Builder> describePermissionSetProvisioningStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Describes the status for the given permission set provisioning request.
This is a convenience which creates an instance of the
DescribePermissionSetProvisioningStatusRequest.Builder
avoiding the need to create one manually via
DescribePermissionSetProvisioningStatusRequest.builder()
describePermissionSetProvisioningStatusRequest
- A Consumer
that will call methods on
DescribePermissionSetProvisioningStatusRequest.Builder
to create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DetachManagedPolicyFromPermissionSetResponse detachManagedPolicyFromPermissionSet(DetachManagedPolicyFromPermissionSetRequest detachManagedPolicyFromPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Detaches the attached IAM managed policy ARN from the specified permission set.
detachManagedPolicyFromPermissionSetRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DetachManagedPolicyFromPermissionSetResponse detachManagedPolicyFromPermissionSet(Consumer<DetachManagedPolicyFromPermissionSetRequest.Builder> detachManagedPolicyFromPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Detaches the attached IAM managed policy ARN from the specified permission set.
This is a convenience which creates an instance of the
DetachManagedPolicyFromPermissionSetRequest.Builder
avoiding the need to create one manually via
DetachManagedPolicyFromPermissionSetRequest.builder()
detachManagedPolicyFromPermissionSetRequest
- A Consumer
that will call methods on DetachManagedPolicyFromPermissionSetRequest.Builder
to create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetInlinePolicyForPermissionSetResponse getInlinePolicyForPermissionSet(GetInlinePolicyForPermissionSetRequest getInlinePolicyForPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Obtains the inline policy assigned to the permission set.
getInlinePolicyForPermissionSetRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetInlinePolicyForPermissionSetResponse getInlinePolicyForPermissionSet(Consumer<GetInlinePolicyForPermissionSetRequest.Builder> getInlinePolicyForPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Obtains the inline policy assigned to the permission set.
This is a convenience which creates an instance of the GetInlinePolicyForPermissionSetRequest.Builder
avoiding the need to create one manually via GetInlinePolicyForPermissionSetRequest.builder()
getInlinePolicyForPermissionSetRequest
- A Consumer
that will call methods on GetInlinePolicyForPermissionSetRequest.Builder
to
create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAccountAssignmentCreationStatusResponse listAccountAssignmentCreationStatus(ListAccountAssignmentCreationStatusRequest listAccountAssignmentCreationStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the status of the AWS account assignment creation requests for a specified SSO instance.
listAccountAssignmentCreationStatusRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAccountAssignmentCreationStatusResponse listAccountAssignmentCreationStatus(Consumer<ListAccountAssignmentCreationStatusRequest.Builder> listAccountAssignmentCreationStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the status of the AWS account assignment creation requests for a specified SSO instance.
This is a convenience which creates an instance of the ListAccountAssignmentCreationStatusRequest.Builder
avoiding the need to create one manually via ListAccountAssignmentCreationStatusRequest.builder()
listAccountAssignmentCreationStatusRequest
- A Consumer
that will call methods on ListAccountAssignmentCreationStatusRequest.Builder
to
create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAccountAssignmentCreationStatusIterable listAccountAssignmentCreationStatusPaginator(ListAccountAssignmentCreationStatusRequest listAccountAssignmentCreationStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the status of the AWS account assignment creation requests for a specified SSO instance.
This is a variant of
listAccountAssignmentCreationStatus(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentCreationStatusRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentCreationStatusIterable responses = client.listAccountAssignmentCreationStatusPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentCreationStatusIterable responses = client .listAccountAssignmentCreationStatusPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentCreationStatusResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentCreationStatusIterable responses = client.listAccountAssignmentCreationStatusPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountAssignmentCreationStatus(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentCreationStatusRequest)
operation.
listAccountAssignmentCreationStatusRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAccountAssignmentCreationStatusIterable listAccountAssignmentCreationStatusPaginator(Consumer<ListAccountAssignmentCreationStatusRequest.Builder> listAccountAssignmentCreationStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the status of the AWS account assignment creation requests for a specified SSO instance.
This is a variant of
listAccountAssignmentCreationStatus(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentCreationStatusRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentCreationStatusIterable responses = client.listAccountAssignmentCreationStatusPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentCreationStatusIterable responses = client .listAccountAssignmentCreationStatusPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentCreationStatusResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentCreationStatusIterable responses = client.listAccountAssignmentCreationStatusPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountAssignmentCreationStatus(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentCreationStatusRequest)
operation.
This is a convenience which creates an instance of the ListAccountAssignmentCreationStatusRequest.Builder
avoiding the need to create one manually via ListAccountAssignmentCreationStatusRequest.builder()
listAccountAssignmentCreationStatusRequest
- A Consumer
that will call methods on ListAccountAssignmentCreationStatusRequest.Builder
to
create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAccountAssignmentDeletionStatusResponse listAccountAssignmentDeletionStatus(ListAccountAssignmentDeletionStatusRequest listAccountAssignmentDeletionStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the status of the AWS account assignment deletion requests for a specified SSO instance.
listAccountAssignmentDeletionStatusRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAccountAssignmentDeletionStatusResponse listAccountAssignmentDeletionStatus(Consumer<ListAccountAssignmentDeletionStatusRequest.Builder> listAccountAssignmentDeletionStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the status of the AWS account assignment deletion requests for a specified SSO instance.
This is a convenience which creates an instance of the ListAccountAssignmentDeletionStatusRequest.Builder
avoiding the need to create one manually via ListAccountAssignmentDeletionStatusRequest.builder()
listAccountAssignmentDeletionStatusRequest
- A Consumer
that will call methods on ListAccountAssignmentDeletionStatusRequest.Builder
to
create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAccountAssignmentDeletionStatusIterable listAccountAssignmentDeletionStatusPaginator(ListAccountAssignmentDeletionStatusRequest listAccountAssignmentDeletionStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the status of the AWS account assignment deletion requests for a specified SSO instance.
This is a variant of
listAccountAssignmentDeletionStatus(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentDeletionStatusRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentDeletionStatusIterable responses = client.listAccountAssignmentDeletionStatusPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentDeletionStatusIterable responses = client .listAccountAssignmentDeletionStatusPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentDeletionStatusResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentDeletionStatusIterable responses = client.listAccountAssignmentDeletionStatusPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountAssignmentDeletionStatus(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentDeletionStatusRequest)
operation.
listAccountAssignmentDeletionStatusRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAccountAssignmentDeletionStatusIterable listAccountAssignmentDeletionStatusPaginator(Consumer<ListAccountAssignmentDeletionStatusRequest.Builder> listAccountAssignmentDeletionStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the status of the AWS account assignment deletion requests for a specified SSO instance.
This is a variant of
listAccountAssignmentDeletionStatus(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentDeletionStatusRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentDeletionStatusIterable responses = client.listAccountAssignmentDeletionStatusPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentDeletionStatusIterable responses = client .listAccountAssignmentDeletionStatusPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentDeletionStatusResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentDeletionStatusIterable responses = client.listAccountAssignmentDeletionStatusPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountAssignmentDeletionStatus(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentDeletionStatusRequest)
operation.
This is a convenience which creates an instance of the ListAccountAssignmentDeletionStatusRequest.Builder
avoiding the need to create one manually via ListAccountAssignmentDeletionStatusRequest.builder()
listAccountAssignmentDeletionStatusRequest
- A Consumer
that will call methods on ListAccountAssignmentDeletionStatusRequest.Builder
to
create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAccountAssignmentsResponse listAccountAssignments(ListAccountAssignmentsRequest listAccountAssignmentsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the assignee of the specified AWS account with the specified permission set.
listAccountAssignmentsRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAccountAssignmentsResponse listAccountAssignments(Consumer<ListAccountAssignmentsRequest.Builder> listAccountAssignmentsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the assignee of the specified AWS account with the specified permission set.
This is a convenience which creates an instance of the ListAccountAssignmentsRequest.Builder
avoiding the
need to create one manually via ListAccountAssignmentsRequest.builder()
listAccountAssignmentsRequest
- A Consumer
that will call methods on ListAccountAssignmentsRequest.Builder
to create a
request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAccountAssignmentsIterable listAccountAssignmentsPaginator(ListAccountAssignmentsRequest listAccountAssignmentsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the assignee of the specified AWS account with the specified permission set.
This is a variant of
listAccountAssignments(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentsIterable responses = client.listAccountAssignmentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentsIterable responses = client .listAccountAssignmentsPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentsIterable responses = client.listAccountAssignmentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountAssignments(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentsRequest)
operation.
listAccountAssignmentsRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAccountAssignmentsIterable listAccountAssignmentsPaginator(Consumer<ListAccountAssignmentsRequest.Builder> listAccountAssignmentsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the assignee of the specified AWS account with the specified permission set.
This is a variant of
listAccountAssignments(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentsIterable responses = client.listAccountAssignmentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentsIterable responses = client .listAccountAssignmentsPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentsIterable responses = client.listAccountAssignmentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountAssignments(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentsRequest)
operation.
This is a convenience which creates an instance of the ListAccountAssignmentsRequest.Builder
avoiding the
need to create one manually via ListAccountAssignmentsRequest.builder()
listAccountAssignmentsRequest
- A Consumer
that will call methods on ListAccountAssignmentsRequest.Builder
to create a
request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAccountsForProvisionedPermissionSetResponse listAccountsForProvisionedPermissionSet(ListAccountsForProvisionedPermissionSetRequest listAccountsForProvisionedPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists all the AWS accounts where the specified permission set is provisioned.
listAccountsForProvisionedPermissionSetRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAccountsForProvisionedPermissionSetResponse listAccountsForProvisionedPermissionSet(Consumer<ListAccountsForProvisionedPermissionSetRequest.Builder> listAccountsForProvisionedPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists all the AWS accounts where the specified permission set is provisioned.
This is a convenience which creates an instance of the
ListAccountsForProvisionedPermissionSetRequest.Builder
avoiding the need to create one manually via
ListAccountsForProvisionedPermissionSetRequest.builder()
listAccountsForProvisionedPermissionSetRequest
- A Consumer
that will call methods on
ListAccountsForProvisionedPermissionSetRequest.Builder
to create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAccountsForProvisionedPermissionSetIterable listAccountsForProvisionedPermissionSetPaginator(ListAccountsForProvisionedPermissionSetRequest listAccountsForProvisionedPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists all the AWS accounts where the specified permission set is provisioned.
This is a variant of
listAccountsForProvisionedPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListAccountsForProvisionedPermissionSetRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListAccountsForProvisionedPermissionSetIterable responses = client.listAccountsForProvisionedPermissionSetPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListAccountsForProvisionedPermissionSetIterable responses = client .listAccountsForProvisionedPermissionSetPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListAccountsForProvisionedPermissionSetResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListAccountsForProvisionedPermissionSetIterable responses = client.listAccountsForProvisionedPermissionSetPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountsForProvisionedPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListAccountsForProvisionedPermissionSetRequest)
operation.
listAccountsForProvisionedPermissionSetRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAccountsForProvisionedPermissionSetIterable listAccountsForProvisionedPermissionSetPaginator(Consumer<ListAccountsForProvisionedPermissionSetRequest.Builder> listAccountsForProvisionedPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists all the AWS accounts where the specified permission set is provisioned.
This is a variant of
listAccountsForProvisionedPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListAccountsForProvisionedPermissionSetRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListAccountsForProvisionedPermissionSetIterable responses = client.listAccountsForProvisionedPermissionSetPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListAccountsForProvisionedPermissionSetIterable responses = client .listAccountsForProvisionedPermissionSetPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListAccountsForProvisionedPermissionSetResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListAccountsForProvisionedPermissionSetIterable responses = client.listAccountsForProvisionedPermissionSetPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountsForProvisionedPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListAccountsForProvisionedPermissionSetRequest)
operation.
This is a convenience which creates an instance of the
ListAccountsForProvisionedPermissionSetRequest.Builder
avoiding the need to create one manually via
ListAccountsForProvisionedPermissionSetRequest.builder()
listAccountsForProvisionedPermissionSetRequest
- A Consumer
that will call methods on
ListAccountsForProvisionedPermissionSetRequest.Builder
to create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListInstancesResponse listInstances(ListInstancesRequest listInstancesRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException
Lists the SSO instances that the caller has access to.
listInstancesRequest
- InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.ValidationException
- The request failed because it contains a syntax error.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListInstancesResponse listInstances(Consumer<ListInstancesRequest.Builder> listInstancesRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException
Lists the SSO instances that the caller has access to.
This is a convenience which creates an instance of the ListInstancesRequest.Builder
avoiding the need to
create one manually via ListInstancesRequest.builder()
listInstancesRequest
- A Consumer
that will call methods on ListInstancesRequest.Builder
to create a request.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.ValidationException
- The request failed because it contains a syntax error.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListInstancesIterable listInstancesPaginator(ListInstancesRequest listInstancesRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException
Lists the SSO instances that the caller has access to.
This is a variant of listInstances(software.amazon.awssdk.services.ssoadmin.model.ListInstancesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListInstancesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInstances(software.amazon.awssdk.services.ssoadmin.model.ListInstancesRequest)
operation.
listInstancesRequest
- InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.ValidationException
- The request failed because it contains a syntax error.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListInstancesIterable listInstancesPaginator(Consumer<ListInstancesRequest.Builder> listInstancesRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException
Lists the SSO instances that the caller has access to.
This is a variant of listInstances(software.amazon.awssdk.services.ssoadmin.model.ListInstancesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListInstancesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInstances(software.amazon.awssdk.services.ssoadmin.model.ListInstancesRequest)
operation.
This is a convenience which creates an instance of the ListInstancesRequest.Builder
avoiding the need to
create one manually via ListInstancesRequest.builder()
listInstancesRequest
- A Consumer
that will call methods on ListInstancesRequest.Builder
to create a request.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.AccessDeniedException
- You do not have sufficient access to perform this action.ValidationException
- The request failed because it contains a syntax error.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListManagedPoliciesInPermissionSetResponse listManagedPoliciesInPermissionSet(ListManagedPoliciesInPermissionSetRequest listManagedPoliciesInPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the IAM managed policy that is attached to a specified permission set.
listManagedPoliciesInPermissionSetRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListManagedPoliciesInPermissionSetResponse listManagedPoliciesInPermissionSet(Consumer<ListManagedPoliciesInPermissionSetRequest.Builder> listManagedPoliciesInPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the IAM managed policy that is attached to a specified permission set.
This is a convenience which creates an instance of the ListManagedPoliciesInPermissionSetRequest.Builder
avoiding the need to create one manually via ListManagedPoliciesInPermissionSetRequest.builder()
listManagedPoliciesInPermissionSetRequest
- A Consumer
that will call methods on ListManagedPoliciesInPermissionSetRequest.Builder
to
create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListManagedPoliciesInPermissionSetIterable listManagedPoliciesInPermissionSetPaginator(ListManagedPoliciesInPermissionSetRequest listManagedPoliciesInPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the IAM managed policy that is attached to a specified permission set.
This is a variant of
listManagedPoliciesInPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListManagedPoliciesInPermissionSetRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListManagedPoliciesInPermissionSetIterable responses = client.listManagedPoliciesInPermissionSetPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListManagedPoliciesInPermissionSetIterable responses = client .listManagedPoliciesInPermissionSetPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListManagedPoliciesInPermissionSetResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListManagedPoliciesInPermissionSetIterable responses = client.listManagedPoliciesInPermissionSetPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedPoliciesInPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListManagedPoliciesInPermissionSetRequest)
operation.
listManagedPoliciesInPermissionSetRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListManagedPoliciesInPermissionSetIterable listManagedPoliciesInPermissionSetPaginator(Consumer<ListManagedPoliciesInPermissionSetRequest.Builder> listManagedPoliciesInPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the IAM managed policy that is attached to a specified permission set.
This is a variant of
listManagedPoliciesInPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListManagedPoliciesInPermissionSetRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListManagedPoliciesInPermissionSetIterable responses = client.listManagedPoliciesInPermissionSetPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListManagedPoliciesInPermissionSetIterable responses = client .listManagedPoliciesInPermissionSetPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListManagedPoliciesInPermissionSetResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListManagedPoliciesInPermissionSetIterable responses = client.listManagedPoliciesInPermissionSetPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedPoliciesInPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListManagedPoliciesInPermissionSetRequest)
operation.
This is a convenience which creates an instance of the ListManagedPoliciesInPermissionSetRequest.Builder
avoiding the need to create one manually via ListManagedPoliciesInPermissionSetRequest.builder()
listManagedPoliciesInPermissionSetRequest
- A Consumer
that will call methods on ListManagedPoliciesInPermissionSetRequest.Builder
to
create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListPermissionSetProvisioningStatusResponse listPermissionSetProvisioningStatus(ListPermissionSetProvisioningStatusRequest listPermissionSetProvisioningStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the status of the permission set provisioning requests for a specified SSO instance.
listPermissionSetProvisioningStatusRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListPermissionSetProvisioningStatusResponse listPermissionSetProvisioningStatus(Consumer<ListPermissionSetProvisioningStatusRequest.Builder> listPermissionSetProvisioningStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the status of the permission set provisioning requests for a specified SSO instance.
This is a convenience which creates an instance of the ListPermissionSetProvisioningStatusRequest.Builder
avoiding the need to create one manually via ListPermissionSetProvisioningStatusRequest.builder()
listPermissionSetProvisioningStatusRequest
- A Consumer
that will call methods on ListPermissionSetProvisioningStatusRequest.Builder
to
create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListPermissionSetProvisioningStatusIterable listPermissionSetProvisioningStatusPaginator(ListPermissionSetProvisioningStatusRequest listPermissionSetProvisioningStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the status of the permission set provisioning requests for a specified SSO instance.
This is a variant of
listPermissionSetProvisioningStatus(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetProvisioningStatusRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetProvisioningStatusIterable responses = client.listPermissionSetProvisioningStatusPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetProvisioningStatusIterable responses = client .listPermissionSetProvisioningStatusPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetProvisioningStatusResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetProvisioningStatusIterable responses = client.listPermissionSetProvisioningStatusPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPermissionSetProvisioningStatus(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetProvisioningStatusRequest)
operation.
listPermissionSetProvisioningStatusRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListPermissionSetProvisioningStatusIterable listPermissionSetProvisioningStatusPaginator(Consumer<ListPermissionSetProvisioningStatusRequest.Builder> listPermissionSetProvisioningStatusRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the status of the permission set provisioning requests for a specified SSO instance.
This is a variant of
listPermissionSetProvisioningStatus(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetProvisioningStatusRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetProvisioningStatusIterable responses = client.listPermissionSetProvisioningStatusPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetProvisioningStatusIterable responses = client .listPermissionSetProvisioningStatusPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetProvisioningStatusResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetProvisioningStatusIterable responses = client.listPermissionSetProvisioningStatusPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPermissionSetProvisioningStatus(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetProvisioningStatusRequest)
operation.
This is a convenience which creates an instance of the ListPermissionSetProvisioningStatusRequest.Builder
avoiding the need to create one manually via ListPermissionSetProvisioningStatusRequest.builder()
listPermissionSetProvisioningStatusRequest
- A Consumer
that will call methods on ListPermissionSetProvisioningStatusRequest.Builder
to
create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListPermissionSetsResponse listPermissionSets(ListPermissionSetsRequest listPermissionSetsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the PermissionSets in an SSO instance.
listPermissionSetsRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListPermissionSetsResponse listPermissionSets(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the PermissionSets in an SSO instance.
This is a convenience which creates an instance of the ListPermissionSetsRequest.Builder
avoiding the
need to create one manually via ListPermissionSetsRequest.builder()
listPermissionSetsRequest
- A Consumer
that will call methods on ListPermissionSetsRequest.Builder
to create a
request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListPermissionSetsIterable listPermissionSetsPaginator(ListPermissionSetsRequest listPermissionSetsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the PermissionSets in an SSO instance.
This is a variant of
listPermissionSets(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsIterable responses = client.listPermissionSetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsIterable responses = client .listPermissionSetsPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsIterable responses = client.listPermissionSetsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPermissionSets(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsRequest)
operation.
listPermissionSetsRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListPermissionSetsIterable listPermissionSetsPaginator(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the PermissionSets in an SSO instance.
This is a variant of
listPermissionSets(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsIterable responses = client.listPermissionSetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsIterable responses = client .listPermissionSetsPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsIterable responses = client.listPermissionSetsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPermissionSets(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsRequest)
operation.
This is a convenience which creates an instance of the ListPermissionSetsRequest.Builder
avoiding the
need to create one manually via ListPermissionSetsRequest.builder()
listPermissionSetsRequest
- A Consumer
that will call methods on ListPermissionSetsRequest.Builder
to create a
request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListPermissionSetsProvisionedToAccountResponse listPermissionSetsProvisionedToAccount(ListPermissionSetsProvisionedToAccountRequest listPermissionSetsProvisionedToAccountRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists all the permission sets that are provisioned to a specified AWS account.
listPermissionSetsProvisionedToAccountRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListPermissionSetsProvisionedToAccountResponse listPermissionSetsProvisionedToAccount(Consumer<ListPermissionSetsProvisionedToAccountRequest.Builder> listPermissionSetsProvisionedToAccountRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists all the permission sets that are provisioned to a specified AWS account.
This is a convenience which creates an instance of the
ListPermissionSetsProvisionedToAccountRequest.Builder
avoiding the need to create one manually via
ListPermissionSetsProvisionedToAccountRequest.builder()
listPermissionSetsProvisionedToAccountRequest
- A Consumer
that will call methods on ListPermissionSetsProvisionedToAccountRequest.Builder
to create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListPermissionSetsProvisionedToAccountIterable listPermissionSetsProvisionedToAccountPaginator(ListPermissionSetsProvisionedToAccountRequest listPermissionSetsProvisionedToAccountRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists all the permission sets that are provisioned to a specified AWS account.
This is a variant of
listPermissionSetsProvisionedToAccount(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsProvisionedToAccountRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsProvisionedToAccountIterable responses = client.listPermissionSetsProvisionedToAccountPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsProvisionedToAccountIterable responses = client .listPermissionSetsProvisionedToAccountPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsProvisionedToAccountResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsProvisionedToAccountIterable responses = client.listPermissionSetsProvisionedToAccountPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPermissionSetsProvisionedToAccount(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsProvisionedToAccountRequest)
operation.
listPermissionSetsProvisionedToAccountRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListPermissionSetsProvisionedToAccountIterable listPermissionSetsProvisionedToAccountPaginator(Consumer<ListPermissionSetsProvisionedToAccountRequest.Builder> listPermissionSetsProvisionedToAccountRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists all the permission sets that are provisioned to a specified AWS account.
This is a variant of
listPermissionSetsProvisionedToAccount(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsProvisionedToAccountRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsProvisionedToAccountIterable responses = client.listPermissionSetsProvisionedToAccountPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsProvisionedToAccountIterable responses = client .listPermissionSetsProvisionedToAccountPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsProvisionedToAccountResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsProvisionedToAccountIterable responses = client.listPermissionSetsProvisionedToAccountPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPermissionSetsProvisionedToAccount(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsProvisionedToAccountRequest)
operation.
This is a convenience which creates an instance of the
ListPermissionSetsProvisionedToAccountRequest.Builder
avoiding the need to create one manually via
ListPermissionSetsProvisionedToAccountRequest.builder()
listPermissionSetsProvisionedToAccountRequest
- A Consumer
that will call methods on ListPermissionSetsProvisionedToAccountRequest.Builder
to create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the tags that are attached to a specified resource.
listTagsForResourceRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the tags that are attached to a specified resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder
avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest
- A Consumer
that will call methods on ListTagsForResourceRequest.Builder
to create a
request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListTagsForResourceIterable listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the tags that are attached to a specified resource.
This is a variant of
listTagsForResource(software.amazon.awssdk.services.ssoadmin.model.ListTagsForResourceRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListTagsForResourceIterable responses = client .listTagsForResourcePaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListTagsForResourceResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.ssoadmin.model.ListTagsForResourceRequest)
operation.
listTagsForResourceRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListTagsForResourceIterable listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException
Lists the tags that are attached to a specified resource.
This is a variant of
listTagsForResource(software.amazon.awssdk.services.ssoadmin.model.ListTagsForResourceRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssoadmin.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListTagsForResourceIterable responses = client .listTagsForResourcePaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListTagsForResourceResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.ssoadmin.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.ssoadmin.model.ListTagsForResourceRequest)
operation.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder
avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest
- A Consumer
that will call methods on ListTagsForResourceRequest.Builder
to create a
request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ProvisionPermissionSetResponse provisionPermissionSet(ProvisionPermissionSetRequest provisionPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
The process by which a specified permission set is provisioned to the specified target.
provisionPermissionSetRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ProvisionPermissionSetResponse provisionPermissionSet(Consumer<ProvisionPermissionSetRequest.Builder> provisionPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
The process by which a specified permission set is provisioned to the specified target.
This is a convenience which creates an instance of the ProvisionPermissionSetRequest.Builder
avoiding the
need to create one manually via ProvisionPermissionSetRequest.builder()
provisionPermissionSetRequest
- A Consumer
that will call methods on ProvisionPermissionSetRequest.Builder
to create a
request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default PutInlinePolicyToPermissionSetResponse putInlinePolicyToPermissionSet(PutInlinePolicyToPermissionSetRequest putInlinePolicyToPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Attaches an IAM inline policy to a permission set.
If the permission set is already referenced by one or more account assignments, you will need to call
ProvisionPermissionSet
after this action to apply the corresponding IAM policy updates to
all assigned accounts.
putInlinePolicyToPermissionSetRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ServiceQuotaExceededException
- Indicates that the principal has crossed the permitted number of resources that can be created.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default PutInlinePolicyToPermissionSetResponse putInlinePolicyToPermissionSet(Consumer<PutInlinePolicyToPermissionSetRequest.Builder> putInlinePolicyToPermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Attaches an IAM inline policy to a permission set.
If the permission set is already referenced by one or more account assignments, you will need to call
ProvisionPermissionSet
after this action to apply the corresponding IAM policy updates to
all assigned accounts.
This is a convenience which creates an instance of the PutInlinePolicyToPermissionSetRequest.Builder
avoiding the need to create one manually via PutInlinePolicyToPermissionSetRequest.builder()
putInlinePolicyToPermissionSetRequest
- A Consumer
that will call methods on PutInlinePolicyToPermissionSetRequest.Builder
to
create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ServiceQuotaExceededException
- Indicates that the principal has crossed the permitted number of resources that can be created.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Associates a set of tags with a specified resource.
tagResourceRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ServiceQuotaExceededException
- Indicates that the principal has crossed the permitted number of resources that can be created.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Associates a set of tags with a specified resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder
avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest
- A Consumer
that will call methods on TagResourceRequest.Builder
to create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ServiceQuotaExceededException
- Indicates that the principal has crossed the permitted number of resources that can be created.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Disassociates a set of tags from a specified resource.
untagResourceRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Disassociates a set of tags from a specified resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder
avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest
- A Consumer
that will call methods on UntagResourceRequest.Builder
to create a request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateInstanceAccessControlAttributeConfigurationResponse updateInstanceAccessControlAttributeConfiguration(UpdateInstanceAccessControlAttributeConfigurationRequest updateInstanceAccessControlAttributeConfigurationRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Updates the AWS SSO identity store attributes to use with the AWS SSO instance for attributes-based access control (ABAC). When using an external identity provider as an identity source, you can pass attributes through the SAML assertion as 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. For more information about ABAC, see Attribute-Based Access Control in the AWS SSO User Guide.
updateInstanceAccessControlAttributeConfigurationRequest
- InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.ResourceNotFoundException
- Indicates that a requested resource is not found.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateInstanceAccessControlAttributeConfigurationResponse updateInstanceAccessControlAttributeConfiguration(Consumer<UpdateInstanceAccessControlAttributeConfigurationRequest.Builder> updateInstanceAccessControlAttributeConfigurationRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Updates the AWS SSO identity store attributes to use with the AWS SSO instance for attributes-based access control (ABAC). When using an external identity provider as an identity source, you can pass attributes through the SAML assertion as 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. For more information about ABAC, see Attribute-Based Access Control in the AWS SSO User Guide.
This is a convenience which creates an instance of the
UpdateInstanceAccessControlAttributeConfigurationRequest.Builder
avoiding the need to create one manually
via UpdateInstanceAccessControlAttributeConfigurationRequest.builder()
updateInstanceAccessControlAttributeConfigurationRequest
- A Consumer
that will call methods on
UpdateInstanceAccessControlAttributeConfigurationRequest.Builder
to create a request.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.ResourceNotFoundException
- Indicates that a requested resource is not found.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdatePermissionSetResponse updatePermissionSet(UpdatePermissionSetRequest updatePermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Updates an existing permission set.
updatePermissionSetRequest
- ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdatePermissionSetResponse updatePermissionSet(Consumer<UpdatePermissionSetRequest.Builder> updatePermissionSetRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException
Updates an existing permission set.
This is a convenience which creates an instance of the UpdatePermissionSetRequest.Builder
avoiding the
need to create one manually via UpdatePermissionSetRequest.builder()
updatePermissionSetRequest
- A Consumer
that will call methods on UpdatePermissionSetRequest.Builder
to create a
request.ResourceNotFoundException
- Indicates that a requested resource is not found.InternalServerException
- The request processing has failed because of an unknown error, exception, or failure with an internal
server.ThrottlingException
- Indicates that the principal has crossed the throttling limits of the API operations.ValidationException
- The request failed because it contains a syntax error.AccessDeniedException
- You do not have sufficient access to perform this action.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsoAdminException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
static ServiceMetadata serviceMetadata()