Interface SsoAdminClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
IAM Identity Center (successor to Single Sign-On) helps you securely create, or connect, your workforce identities and manage their access centrally across Amazon Web Services accounts and applications. IAM Identity Center is the recommended approach for workforce authentication and authorization in Amazon Web Services, for organizations of any size and type.
IAM Identity Center uses the sso
and identitystore
API namespaces.
This reference guide provides information on single sign-on operations which could be used for access management of Amazon Web Services accounts. For information about IAM Identity Center features, see the IAM Identity Center User Guide.
Many operations in the IAM Identity Center APIs rely on identifiers for users and groups, known as principals. For more information about how to work with principals and principal IDs in IAM Identity Center, see the Identity Store API Reference.
Amazon Web Services provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .Net, iOS, Android, and more). The SDKs provide a convenient way to create programmatic access to IAM Identity Center and other Amazon Web Services services. For more information about the Amazon Web Services SDKs, including how to download and install them, see Tools for Amazon Web Services.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionattachCustomerManagedPolicyReferenceToPermissionSet
(Consumer<AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder> attachCustomerManagedPolicyReferenceToPermissionSetRequest) Attaches the specified customer managed policy to the specified PermissionSet.attachCustomerManagedPolicyReferenceToPermissionSet
(AttachCustomerManagedPolicyReferenceToPermissionSetRequest attachCustomerManagedPolicyReferenceToPermissionSetRequest) Attaches the specified customer managed policy to the specified PermissionSet.attachManagedPolicyToPermissionSet
(Consumer<AttachManagedPolicyToPermissionSetRequest.Builder> attachManagedPolicyToPermissionSetRequest) Attaches an Amazon Web Services managed policy ARN to a permission set.attachManagedPolicyToPermissionSet
(AttachManagedPolicyToPermissionSetRequest attachManagedPolicyToPermissionSetRequest) Attaches an Amazon Web Services managed policy ARN to a permission set.static SsoAdminClientBuilder
builder()
Create a builder that can be used to configure and create aSsoAdminClient
.static SsoAdminClient
create()
Create aSsoAdminClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateAccountAssignmentResponse
createAccountAssignment
(Consumer<CreateAccountAssignmentRequest.Builder> createAccountAssignmentRequest) Assigns access to a principal for a specified Amazon Web Services account using a specified permission set.default CreateAccountAssignmentResponse
createAccountAssignment
(CreateAccountAssignmentRequest createAccountAssignmentRequest) Assigns access to a principal for a specified Amazon Web Services account using a specified permission set.createInstanceAccessControlAttributeConfiguration
(Consumer<CreateInstanceAccessControlAttributeConfigurationRequest.Builder> createInstanceAccessControlAttributeConfigurationRequest) Enables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance.createInstanceAccessControlAttributeConfiguration
(CreateInstanceAccessControlAttributeConfigurationRequest createInstanceAccessControlAttributeConfigurationRequest) Enables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance.default CreatePermissionSetResponse
createPermissionSet
(Consumer<CreatePermissionSetRequest.Builder> createPermissionSetRequest) Creates a permission set within a specified IAM Identity Center instance.default CreatePermissionSetResponse
createPermissionSet
(CreatePermissionSetRequest createPermissionSetRequest) Creates a permission set within a specified IAM Identity Center instance.default DeleteAccountAssignmentResponse
deleteAccountAssignment
(Consumer<DeleteAccountAssignmentRequest.Builder> deleteAccountAssignmentRequest) Deletes a principal's access from a specified Amazon Web Services account using a specified permission set.default DeleteAccountAssignmentResponse
deleteAccountAssignment
(DeleteAccountAssignmentRequest deleteAccountAssignmentRequest) Deletes a principal's access from a specified Amazon Web Services account using a specified permission set.deleteInlinePolicyFromPermissionSet
(Consumer<DeleteInlinePolicyFromPermissionSetRequest.Builder> deleteInlinePolicyFromPermissionSetRequest) Deletes the inline policy from a specified permission set.deleteInlinePolicyFromPermissionSet
(DeleteInlinePolicyFromPermissionSetRequest deleteInlinePolicyFromPermissionSetRequest) Deletes the inline policy from a specified permission set.deleteInstanceAccessControlAttributeConfiguration
(Consumer<DeleteInstanceAccessControlAttributeConfigurationRequest.Builder> deleteInstanceAccessControlAttributeConfigurationRequest) Disables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance and deletes all of the attribute mappings that have been configured.deleteInstanceAccessControlAttributeConfiguration
(DeleteInstanceAccessControlAttributeConfigurationRequest deleteInstanceAccessControlAttributeConfigurationRequest) Disables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance and deletes all of the attribute mappings that have been configured.deletePermissionsBoundaryFromPermissionSet
(Consumer<DeletePermissionsBoundaryFromPermissionSetRequest.Builder> deletePermissionsBoundaryFromPermissionSetRequest) Deletes the permissions boundary from a specified PermissionSet.deletePermissionsBoundaryFromPermissionSet
(DeletePermissionsBoundaryFromPermissionSetRequest deletePermissionsBoundaryFromPermissionSetRequest) Deletes the permissions boundary from a specified PermissionSet.default DeletePermissionSetResponse
deletePermissionSet
(Consumer<DeletePermissionSetRequest.Builder> deletePermissionSetRequest) Deletes the specified permission set.default DeletePermissionSetResponse
deletePermissionSet
(DeletePermissionSetRequest deletePermissionSetRequest) Deletes the specified permission set.describeAccountAssignmentCreationStatus
(Consumer<DescribeAccountAssignmentCreationStatusRequest.Builder> describeAccountAssignmentCreationStatusRequest) Describes the status of the assignment creation request.describeAccountAssignmentCreationStatus
(DescribeAccountAssignmentCreationStatusRequest describeAccountAssignmentCreationStatusRequest) Describes the status of the assignment creation request.describeAccountAssignmentDeletionStatus
(Consumer<DescribeAccountAssignmentDeletionStatusRequest.Builder> describeAccountAssignmentDeletionStatusRequest) Describes the status of the assignment deletion request.describeAccountAssignmentDeletionStatus
(DescribeAccountAssignmentDeletionStatusRequest describeAccountAssignmentDeletionStatusRequest) Describes the status of the assignment deletion request.describeInstanceAccessControlAttributeConfiguration
(Consumer<DescribeInstanceAccessControlAttributeConfigurationRequest.Builder> describeInstanceAccessControlAttributeConfigurationRequest) Returns the list of IAM Identity Center identity store attributes that have been configured to work with attributes-based access control (ABAC) for the specified IAM Identity Center instance.describeInstanceAccessControlAttributeConfiguration
(DescribeInstanceAccessControlAttributeConfigurationRequest describeInstanceAccessControlAttributeConfigurationRequest) Returns the list of IAM Identity Center identity store attributes that have been configured to work with attributes-based access control (ABAC) for the specified IAM Identity Center 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.describePermissionSetProvisioningStatus
(Consumer<DescribePermissionSetProvisioningStatusRequest.Builder> describePermissionSetProvisioningStatusRequest) Describes the status for the given permission set provisioning request.describePermissionSetProvisioningStatus
(DescribePermissionSetProvisioningStatusRequest describePermissionSetProvisioningStatusRequest) Describes the status for the given permission set provisioning request.detachCustomerManagedPolicyReferenceFromPermissionSet
(Consumer<DetachCustomerManagedPolicyReferenceFromPermissionSetRequest.Builder> detachCustomerManagedPolicyReferenceFromPermissionSetRequest) Detaches the specified customer managed policy from the specified PermissionSet.detachCustomerManagedPolicyReferenceFromPermissionSet
(DetachCustomerManagedPolicyReferenceFromPermissionSetRequest detachCustomerManagedPolicyReferenceFromPermissionSetRequest) Detaches the specified customer managed policy from the specified PermissionSet.detachManagedPolicyFromPermissionSet
(Consumer<DetachManagedPolicyFromPermissionSetRequest.Builder> detachManagedPolicyFromPermissionSetRequest) Detaches the attached Amazon Web Services managed policy ARN from the specified permission set.detachManagedPolicyFromPermissionSet
(DetachManagedPolicyFromPermissionSetRequest detachManagedPolicyFromPermissionSetRequest) Detaches the attached Amazon Web Services managed policy ARN from the specified permission set.getInlinePolicyForPermissionSet
(Consumer<GetInlinePolicyForPermissionSetRequest.Builder> getInlinePolicyForPermissionSetRequest) Obtains the inline policy assigned to the permission set.getInlinePolicyForPermissionSet
(GetInlinePolicyForPermissionSetRequest getInlinePolicyForPermissionSetRequest) Obtains the inline policy assigned to the permission set.getPermissionsBoundaryForPermissionSet
(Consumer<GetPermissionsBoundaryForPermissionSetRequest.Builder> getPermissionsBoundaryForPermissionSetRequest) Obtains the permissions boundary for a specified PermissionSet.getPermissionsBoundaryForPermissionSet
(GetPermissionsBoundaryForPermissionSetRequest getPermissionsBoundaryForPermissionSetRequest) Obtains the permissions boundary for a specified PermissionSet.listAccountAssignmentCreationStatus
(Consumer<ListAccountAssignmentCreationStatusRequest.Builder> listAccountAssignmentCreationStatusRequest) Lists the status of the Amazon Web Services account assignment creation requests for a specified IAM Identity Center instance.listAccountAssignmentCreationStatus
(ListAccountAssignmentCreationStatusRequest listAccountAssignmentCreationStatusRequest) Lists the status of the Amazon Web Services account assignment creation requests for a specified IAM Identity Center instance.listAccountAssignmentCreationStatusPaginator
(Consumer<ListAccountAssignmentCreationStatusRequest.Builder> listAccountAssignmentCreationStatusRequest) Lists the status of the Amazon Web Services account assignment creation requests for a specified IAM Identity Center instance.listAccountAssignmentCreationStatusPaginator
(ListAccountAssignmentCreationStatusRequest listAccountAssignmentCreationStatusRequest) Lists the status of the Amazon Web Services account assignment creation requests for a specified IAM Identity Center instance.listAccountAssignmentDeletionStatus
(Consumer<ListAccountAssignmentDeletionStatusRequest.Builder> listAccountAssignmentDeletionStatusRequest) Lists the status of the Amazon Web Services account assignment deletion requests for a specified IAM Identity Center instance.listAccountAssignmentDeletionStatus
(ListAccountAssignmentDeletionStatusRequest listAccountAssignmentDeletionStatusRequest) Lists the status of the Amazon Web Services account assignment deletion requests for a specified IAM Identity Center instance.listAccountAssignmentDeletionStatusPaginator
(Consumer<ListAccountAssignmentDeletionStatusRequest.Builder> listAccountAssignmentDeletionStatusRequest) Lists the status of the Amazon Web Services account assignment deletion requests for a specified IAM Identity Center instance.listAccountAssignmentDeletionStatusPaginator
(ListAccountAssignmentDeletionStatusRequest listAccountAssignmentDeletionStatusRequest) Lists the status of the Amazon Web Services account assignment deletion requests for a specified IAM Identity Center instance.default ListAccountAssignmentsResponse
listAccountAssignments
(Consumer<ListAccountAssignmentsRequest.Builder> listAccountAssignmentsRequest) Lists the assignee of the specified Amazon Web Services account with the specified permission set.default ListAccountAssignmentsResponse
listAccountAssignments
(ListAccountAssignmentsRequest listAccountAssignmentsRequest) Lists the assignee of the specified Amazon Web Services account with the specified permission set.default ListAccountAssignmentsIterable
listAccountAssignmentsPaginator
(Consumer<ListAccountAssignmentsRequest.Builder> listAccountAssignmentsRequest) Lists the assignee of the specified Amazon Web Services account with the specified permission set.default ListAccountAssignmentsIterable
listAccountAssignmentsPaginator
(ListAccountAssignmentsRequest listAccountAssignmentsRequest) Lists the assignee of the specified Amazon Web Services account with the specified permission set.listAccountsForProvisionedPermissionSet
(Consumer<ListAccountsForProvisionedPermissionSetRequest.Builder> listAccountsForProvisionedPermissionSetRequest) Lists all the Amazon Web Services accounts where the specified permission set is provisioned.listAccountsForProvisionedPermissionSet
(ListAccountsForProvisionedPermissionSetRequest listAccountsForProvisionedPermissionSetRequest) Lists all the Amazon Web Services accounts where the specified permission set is provisioned.listAccountsForProvisionedPermissionSetPaginator
(Consumer<ListAccountsForProvisionedPermissionSetRequest.Builder> listAccountsForProvisionedPermissionSetRequest) Lists all the Amazon Web Services accounts where the specified permission set is provisioned.listAccountsForProvisionedPermissionSetPaginator
(ListAccountsForProvisionedPermissionSetRequest listAccountsForProvisionedPermissionSetRequest) Lists all the Amazon Web Services accounts where the specified permission set is provisioned.listCustomerManagedPolicyReferencesInPermissionSet
(Consumer<ListCustomerManagedPolicyReferencesInPermissionSetRequest.Builder> listCustomerManagedPolicyReferencesInPermissionSetRequest) Lists all customer managed policies attached to a specified PermissionSet.listCustomerManagedPolicyReferencesInPermissionSet
(ListCustomerManagedPolicyReferencesInPermissionSetRequest listCustomerManagedPolicyReferencesInPermissionSetRequest) Lists all customer managed policies attached to a specified PermissionSet.listCustomerManagedPolicyReferencesInPermissionSetPaginator
(Consumer<ListCustomerManagedPolicyReferencesInPermissionSetRequest.Builder> listCustomerManagedPolicyReferencesInPermissionSetRequest) Lists all customer managed policies attached to a specified PermissionSet.listCustomerManagedPolicyReferencesInPermissionSetPaginator
(ListCustomerManagedPolicyReferencesInPermissionSetRequest listCustomerManagedPolicyReferencesInPermissionSetRequest) Lists all customer managed policies attached to a specified PermissionSet.default ListInstancesResponse
listInstances
(Consumer<ListInstancesRequest.Builder> listInstancesRequest) Lists the IAM Identity Center instances that the caller has access to.default ListInstancesResponse
listInstances
(ListInstancesRequest listInstancesRequest) Lists the IAM Identity Center instances that the caller has access to.default ListInstancesIterable
listInstancesPaginator
(Consumer<ListInstancesRequest.Builder> listInstancesRequest) Lists the IAM Identity Center instances that the caller has access to.default ListInstancesIterable
listInstancesPaginator
(ListInstancesRequest listInstancesRequest) Lists the IAM Identity Center instances that the caller has access to.listManagedPoliciesInPermissionSet
(Consumer<ListManagedPoliciesInPermissionSetRequest.Builder> listManagedPoliciesInPermissionSetRequest) Lists the Amazon Web Services managed policy that is attached to a specified permission set.listManagedPoliciesInPermissionSet
(ListManagedPoliciesInPermissionSetRequest listManagedPoliciesInPermissionSetRequest) Lists the Amazon Web Services managed policy that is attached to a specified permission set.listManagedPoliciesInPermissionSetPaginator
(Consumer<ListManagedPoliciesInPermissionSetRequest.Builder> listManagedPoliciesInPermissionSetRequest) Lists the Amazon Web Services managed policy that is attached to a specified permission set.listManagedPoliciesInPermissionSetPaginator
(ListManagedPoliciesInPermissionSetRequest listManagedPoliciesInPermissionSetRequest) Lists the Amazon Web Services managed policy that is attached to a specified permission set.listPermissionSetProvisioningStatus
(Consumer<ListPermissionSetProvisioningStatusRequest.Builder> listPermissionSetProvisioningStatusRequest) Lists the status of the permission set provisioning requests for a specified IAM Identity Center instance.listPermissionSetProvisioningStatus
(ListPermissionSetProvisioningStatusRequest listPermissionSetProvisioningStatusRequest) Lists the status of the permission set provisioning requests for a specified IAM Identity Center instance.listPermissionSetProvisioningStatusPaginator
(Consumer<ListPermissionSetProvisioningStatusRequest.Builder> listPermissionSetProvisioningStatusRequest) Lists the status of the permission set provisioning requests for a specified IAM Identity Center instance.listPermissionSetProvisioningStatusPaginator
(ListPermissionSetProvisioningStatusRequest listPermissionSetProvisioningStatusRequest) Lists the status of the permission set provisioning requests for a specified IAM Identity Center instance.default ListPermissionSetsResponse
listPermissionSets
(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest) Lists the PermissionSets in an IAM Identity Center instance.default ListPermissionSetsResponse
listPermissionSets
(ListPermissionSetsRequest listPermissionSetsRequest) Lists the PermissionSets in an IAM Identity Center instance.default ListPermissionSetsIterable
listPermissionSetsPaginator
(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest) Lists the PermissionSets in an IAM Identity Center instance.default ListPermissionSetsIterable
listPermissionSetsPaginator
(ListPermissionSetsRequest listPermissionSetsRequest) Lists the PermissionSets in an IAM Identity Center instance.listPermissionSetsProvisionedToAccount
(Consumer<ListPermissionSetsProvisionedToAccountRequest.Builder> listPermissionSetsProvisionedToAccountRequest) Lists all the permission sets that are provisioned to a specified Amazon Web Services account.listPermissionSetsProvisionedToAccount
(ListPermissionSetsProvisionedToAccountRequest listPermissionSetsProvisionedToAccountRequest) Lists all the permission sets that are provisioned to a specified Amazon Web Services account.listPermissionSetsProvisionedToAccountPaginator
(Consumer<ListPermissionSetsProvisionedToAccountRequest.Builder> listPermissionSetsProvisionedToAccountRequest) Lists all the permission sets that are provisioned to a specified Amazon Web Services account.listPermissionSetsProvisionedToAccountPaginator
(ListPermissionSetsProvisionedToAccountRequest listPermissionSetsProvisionedToAccountRequest) Lists all the permission sets that are provisioned to a specified Amazon Web Services 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.putInlinePolicyToPermissionSet
(Consumer<PutInlinePolicyToPermissionSetRequest.Builder> putInlinePolicyToPermissionSetRequest) Attaches an inline policy to a permission set.putInlinePolicyToPermissionSet
(PutInlinePolicyToPermissionSetRequest putInlinePolicyToPermissionSetRequest) Attaches an inline policy to a permission set.putPermissionsBoundaryToPermissionSet
(Consumer<PutPermissionsBoundaryToPermissionSetRequest.Builder> putPermissionsBoundaryToPermissionSetRequest) Attaches an Amazon Web Services managed or customer managed policy to the specified PermissionSet as a permissions boundary.putPermissionsBoundaryToPermissionSet
(PutPermissionsBoundaryToPermissionSetRequest putPermissionsBoundaryToPermissionSetRequest) Attaches an Amazon Web Services managed or customer managed policy to the specified PermissionSet as a permissions boundary.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic 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.updateInstanceAccessControlAttributeConfiguration
(Consumer<UpdateInstanceAccessControlAttributeConfigurationRequest.Builder> updateInstanceAccessControlAttributeConfigurationRequest) Updates the IAM Identity Center identity store attributes that you can use with the IAM Identity Center instance for attributes-based access control (ABAC).updateInstanceAccessControlAttributeConfiguration
(UpdateInstanceAccessControlAttributeConfigurationRequest updateInstanceAccessControlAttributeConfigurationRequest) Updates the IAM Identity Center identity store attributes that you can use with the IAM Identity Center 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.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
attachCustomerManagedPolicyReferenceToPermissionSet
default AttachCustomerManagedPolicyReferenceToPermissionSetResponse attachCustomerManagedPolicyReferenceToPermissionSet(AttachCustomerManagedPolicyReferenceToPermissionSetRequest attachCustomerManagedPolicyReferenceToPermissionSetRequest) throws ServiceQuotaExceededException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Attaches the specified customer managed policy to the specified PermissionSet.
- Parameters:
attachCustomerManagedPolicyReferenceToPermissionSetRequest
-- Returns:
- Result of the AttachCustomerManagedPolicyReferenceToPermissionSet operation returned by the service.
- See Also:
-
attachCustomerManagedPolicyReferenceToPermissionSet
default AttachCustomerManagedPolicyReferenceToPermissionSetResponse attachCustomerManagedPolicyReferenceToPermissionSet(Consumer<AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder> attachCustomerManagedPolicyReferenceToPermissionSetRequest) throws ServiceQuotaExceededException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Attaches the specified customer managed policy to the specified PermissionSet.
This is a convenience which creates an instance of the
AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder
avoiding the need to create one manually viaAttachCustomerManagedPolicyReferenceToPermissionSetRequest.builder()
- Parameters:
attachCustomerManagedPolicyReferenceToPermissionSetRequest
- AConsumer
that will call methods onAttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder
to create a request.- Returns:
- Result of the AttachCustomerManagedPolicyReferenceToPermissionSet operation returned by the service.
- See Also:
-
attachManagedPolicyToPermissionSet
default AttachManagedPolicyToPermissionSetResponse attachManagedPolicyToPermissionSet(AttachManagedPolicyToPermissionSetRequest attachManagedPolicyToPermissionSetRequest) throws ServiceQuotaExceededException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Attaches an Amazon Web Services 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 operation. CallingProvisionPermissionSet
applies the corresponding IAM policy updates to all assigned accounts.- Parameters:
attachManagedPolicyToPermissionSetRequest
-- Returns:
- Result of the AttachManagedPolicyToPermissionSet operation returned by the service.
- See Also:
-
attachManagedPolicyToPermissionSet
default AttachManagedPolicyToPermissionSetResponse attachManagedPolicyToPermissionSet(Consumer<AttachManagedPolicyToPermissionSetRequest.Builder> attachManagedPolicyToPermissionSetRequest) throws ServiceQuotaExceededException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Attaches an Amazon Web Services 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 operation. CallingProvisionPermissionSet
applies 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 viaAttachManagedPolicyToPermissionSetRequest.builder()
- Parameters:
attachManagedPolicyToPermissionSetRequest
- AConsumer
that will call methods onAttachManagedPolicyToPermissionSetRequest.Builder
to create a request.- Returns:
- Result of the AttachManagedPolicyToPermissionSet operation returned by the service.
- See Also:
-
createAccountAssignment
default CreateAccountAssignmentResponse createAccountAssignment(CreateAccountAssignmentRequest createAccountAssignmentRequest) throws ServiceQuotaExceededException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Assigns access to a principal for a specified Amazon Web Services account using a specified permission set.
The term principal here refers to a user or group that is defined in IAM Identity Center.
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. That policy is attached to the IAM role created in IAM Identity Center. If the permission set is subsequently updated, the corresponding IAM policies attached to roles in your accounts will not be updated automatically. In this case, you must callProvisionPermissionSet
to make these updates.After a successful response, call
DescribeAccountAssignmentCreationStatus
to describe the status of an assignment creation request.- Parameters:
createAccountAssignmentRequest
-- Returns:
- Result of the CreateAccountAssignment operation returned by the service.
- See Also:
-
createAccountAssignment
default CreateAccountAssignmentResponse createAccountAssignment(Consumer<CreateAccountAssignmentRequest.Builder> createAccountAssignmentRequest) throws ServiceQuotaExceededException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Assigns access to a principal for a specified Amazon Web Services account using a specified permission set.
The term principal here refers to a user or group that is defined in IAM Identity Center.
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. That policy is attached to the IAM role created in IAM Identity Center. If the permission set is subsequently updated, the corresponding IAM policies attached to roles in your accounts will not be updated automatically. In this case, you must callProvisionPermissionSet
to make these updates.After a successful response, call
DescribeAccountAssignmentCreationStatus
to describe the status of an assignment creation request.
This is a convenience which creates an instance of the
CreateAccountAssignmentRequest.Builder
avoiding the need to create one manually viaCreateAccountAssignmentRequest.builder()
- Parameters:
createAccountAssignmentRequest
- AConsumer
that will call methods onCreateAccountAssignmentRequest.Builder
to create a request.- Returns:
- Result of the CreateAccountAssignment operation returned by the service.
- See Also:
-
createInstanceAccessControlAttributeConfiguration
default CreateInstanceAccessControlAttributeConfigurationResponse createInstanceAccessControlAttributeConfiguration(CreateInstanceAccessControlAttributeConfigurationRequest createInstanceAccessControlAttributeConfigurationRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Enables the attributes-based access control (ABAC) feature for the specified IAM Identity Center 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 IAM Identity Center User Guide.
After a successful response, call
DescribeInstanceAccessControlAttributeConfiguration
to validate thatInstanceAccessControlAttributeConfiguration
was created.- Parameters:
createInstanceAccessControlAttributeConfigurationRequest
-- Returns:
- Result of the CreateInstanceAccessControlAttributeConfiguration operation returned by the service.
- See Also:
-
createInstanceAccessControlAttributeConfiguration
default CreateInstanceAccessControlAttributeConfigurationResponse createInstanceAccessControlAttributeConfiguration(Consumer<CreateInstanceAccessControlAttributeConfigurationRequest.Builder> createInstanceAccessControlAttributeConfigurationRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Enables the attributes-based access control (ABAC) feature for the specified IAM Identity Center 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 IAM Identity Center User Guide.
After a successful response, call
DescribeInstanceAccessControlAttributeConfiguration
to validate thatInstanceAccessControlAttributeConfiguration
was created.
This is a convenience which creates an instance of the
CreateInstanceAccessControlAttributeConfigurationRequest.Builder
avoiding the need to create one manually viaCreateInstanceAccessControlAttributeConfigurationRequest.builder()
- Parameters:
createInstanceAccessControlAttributeConfigurationRequest
- AConsumer
that will call methods onCreateInstanceAccessControlAttributeConfigurationRequest.Builder
to create a request.- Returns:
- Result of the CreateInstanceAccessControlAttributeConfiguration operation returned by the service.
- See Also:
-
createPermissionSet
default CreatePermissionSetResponse createPermissionSet(CreatePermissionSetRequest createPermissionSetRequest) throws ServiceQuotaExceededException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Creates a permission set within a specified IAM Identity Center instance.
To grant users and groups access to Amazon Web Services account resources, use
CreateAccountAssignment
.- Parameters:
createPermissionSetRequest
-- Returns:
- Result of the CreatePermissionSet operation returned by the service.
- See Also:
-
createPermissionSet
default CreatePermissionSetResponse createPermissionSet(Consumer<CreatePermissionSetRequest.Builder> createPermissionSetRequest) throws ServiceQuotaExceededException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Creates a permission set within a specified IAM Identity Center instance.
To grant users and groups access to Amazon Web Services account resources, use
CreateAccountAssignment
.
This is a convenience which creates an instance of the
CreatePermissionSetRequest.Builder
avoiding the need to create one manually viaCreatePermissionSetRequest.builder()
- Parameters:
createPermissionSetRequest
- AConsumer
that will call methods onCreatePermissionSetRequest.Builder
to create a request.- Returns:
- Result of the CreatePermissionSet operation returned by the service.
- See Also:
-
deleteAccountAssignment
default DeleteAccountAssignmentResponse deleteAccountAssignment(DeleteAccountAssignmentRequest deleteAccountAssignmentRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Deletes a principal's access from a specified Amazon Web Services account using a specified permission set.
After a successful response, call
DescribeAccountAssignmentDeletionStatus
to describe the status of an assignment deletion request.- Parameters:
deleteAccountAssignmentRequest
-- Returns:
- Result of the DeleteAccountAssignment operation returned by the service.
- See Also:
-
deleteAccountAssignment
default DeleteAccountAssignmentResponse deleteAccountAssignment(Consumer<DeleteAccountAssignmentRequest.Builder> deleteAccountAssignmentRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Deletes a principal's access from a specified Amazon Web Services account using a specified permission set.
After a successful response, call
DescribeAccountAssignmentDeletionStatus
to describe the status of an assignment deletion request.
This is a convenience which creates an instance of the
DeleteAccountAssignmentRequest.Builder
avoiding the need to create one manually viaDeleteAccountAssignmentRequest.builder()
- Parameters:
deleteAccountAssignmentRequest
- AConsumer
that will call methods onDeleteAccountAssignmentRequest.Builder
to create a request.- Returns:
- Result of the DeleteAccountAssignment operation returned by the service.
- See Also:
-
deleteInlinePolicyFromPermissionSet
default DeleteInlinePolicyFromPermissionSetResponse deleteInlinePolicyFromPermissionSet(DeleteInlinePolicyFromPermissionSetRequest deleteInlinePolicyFromPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Deletes the inline policy from a specified permission set.
- Parameters:
deleteInlinePolicyFromPermissionSetRequest
-- Returns:
- Result of the DeleteInlinePolicyFromPermissionSet operation returned by the service.
- See Also:
-
deleteInlinePolicyFromPermissionSet
default DeleteInlinePolicyFromPermissionSetResponse deleteInlinePolicyFromPermissionSet(Consumer<DeleteInlinePolicyFromPermissionSetRequest.Builder> deleteInlinePolicyFromPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, 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 viaDeleteInlinePolicyFromPermissionSetRequest.builder()
- Parameters:
deleteInlinePolicyFromPermissionSetRequest
- AConsumer
that will call methods onDeleteInlinePolicyFromPermissionSetRequest.Builder
to create a request.- Returns:
- Result of the DeleteInlinePolicyFromPermissionSet operation returned by the service.
- See Also:
-
deleteInstanceAccessControlAttributeConfiguration
default DeleteInstanceAccessControlAttributeConfigurationResponse deleteInstanceAccessControlAttributeConfiguration(DeleteInstanceAccessControlAttributeConfigurationRequest deleteInstanceAccessControlAttributeConfigurationRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Disables the attributes-based access control (ABAC) feature for the specified IAM Identity Center 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 IAM Identity Center User Guide.
- Parameters:
deleteInstanceAccessControlAttributeConfigurationRequest
-- Returns:
- Result of the DeleteInstanceAccessControlAttributeConfiguration operation returned by the service.
- See Also:
-
deleteInstanceAccessControlAttributeConfiguration
default DeleteInstanceAccessControlAttributeConfigurationResponse deleteInstanceAccessControlAttributeConfiguration(Consumer<DeleteInstanceAccessControlAttributeConfigurationRequest.Builder> deleteInstanceAccessControlAttributeConfigurationRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Disables the attributes-based access control (ABAC) feature for the specified IAM Identity Center 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 IAM Identity Center User Guide.
This is a convenience which creates an instance of the
DeleteInstanceAccessControlAttributeConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteInstanceAccessControlAttributeConfigurationRequest.builder()
- Parameters:
deleteInstanceAccessControlAttributeConfigurationRequest
- AConsumer
that will call methods onDeleteInstanceAccessControlAttributeConfigurationRequest.Builder
to create a request.- Returns:
- Result of the DeleteInstanceAccessControlAttributeConfiguration operation returned by the service.
- See Also:
-
deletePermissionSet
default DeletePermissionSetResponse deletePermissionSet(DeletePermissionSetRequest deletePermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Deletes the specified permission set.
- Parameters:
deletePermissionSetRequest
-- Returns:
- Result of the DeletePermissionSet operation returned by the service.
- See Also:
-
deletePermissionSet
default DeletePermissionSetResponse deletePermissionSet(Consumer<DeletePermissionSetRequest.Builder> deletePermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, 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 viaDeletePermissionSetRequest.builder()
- Parameters:
deletePermissionSetRequest
- AConsumer
that will call methods onDeletePermissionSetRequest.Builder
to create a request.- Returns:
- Result of the DeletePermissionSet operation returned by the service.
- See Also:
-
deletePermissionsBoundaryFromPermissionSet
default DeletePermissionsBoundaryFromPermissionSetResponse deletePermissionsBoundaryFromPermissionSet(DeletePermissionsBoundaryFromPermissionSetRequest deletePermissionsBoundaryFromPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Deletes the permissions boundary from a specified PermissionSet.
- Parameters:
deletePermissionsBoundaryFromPermissionSetRequest
-- Returns:
- Result of the DeletePermissionsBoundaryFromPermissionSet operation returned by the service.
- See Also:
-
deletePermissionsBoundaryFromPermissionSet
default DeletePermissionsBoundaryFromPermissionSetResponse deletePermissionsBoundaryFromPermissionSet(Consumer<DeletePermissionsBoundaryFromPermissionSetRequest.Builder> deletePermissionsBoundaryFromPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Deletes the permissions boundary from a specified PermissionSet.
This is a convenience which creates an instance of the
DeletePermissionsBoundaryFromPermissionSetRequest.Builder
avoiding the need to create one manually viaDeletePermissionsBoundaryFromPermissionSetRequest.builder()
- Parameters:
deletePermissionsBoundaryFromPermissionSetRequest
- AConsumer
that will call methods onDeletePermissionsBoundaryFromPermissionSetRequest.Builder
to create a request.- Returns:
- Result of the DeletePermissionsBoundaryFromPermissionSet operation returned by the service.
- See Also:
-
describeAccountAssignmentCreationStatus
default DescribeAccountAssignmentCreationStatusResponse describeAccountAssignmentCreationStatus(DescribeAccountAssignmentCreationStatusRequest describeAccountAssignmentCreationStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Describes the status of the assignment creation request.
- Parameters:
describeAccountAssignmentCreationStatusRequest
-- Returns:
- Result of the DescribeAccountAssignmentCreationStatus operation returned by the service.
- See Also:
-
describeAccountAssignmentCreationStatus
default DescribeAccountAssignmentCreationStatusResponse describeAccountAssignmentCreationStatus(Consumer<DescribeAccountAssignmentCreationStatusRequest.Builder> describeAccountAssignmentCreationStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, 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 viaDescribeAccountAssignmentCreationStatusRequest.builder()
- Parameters:
describeAccountAssignmentCreationStatusRequest
- AConsumer
that will call methods onDescribeAccountAssignmentCreationStatusRequest.Builder
to create a request.- Returns:
- Result of the DescribeAccountAssignmentCreationStatus operation returned by the service.
- See Also:
-
describeAccountAssignmentDeletionStatus
default DescribeAccountAssignmentDeletionStatusResponse describeAccountAssignmentDeletionStatus(DescribeAccountAssignmentDeletionStatusRequest describeAccountAssignmentDeletionStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Describes the status of the assignment deletion request.
- Parameters:
describeAccountAssignmentDeletionStatusRequest
-- Returns:
- Result of the DescribeAccountAssignmentDeletionStatus operation returned by the service.
- See Also:
-
describeAccountAssignmentDeletionStatus
default DescribeAccountAssignmentDeletionStatusResponse describeAccountAssignmentDeletionStatus(Consumer<DescribeAccountAssignmentDeletionStatusRequest.Builder> describeAccountAssignmentDeletionStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, 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 viaDescribeAccountAssignmentDeletionStatusRequest.builder()
- Parameters:
describeAccountAssignmentDeletionStatusRequest
- AConsumer
that will call methods onDescribeAccountAssignmentDeletionStatusRequest.Builder
to create a request.- Returns:
- Result of the DescribeAccountAssignmentDeletionStatus operation returned by the service.
- See Also:
-
describeInstanceAccessControlAttributeConfiguration
default DescribeInstanceAccessControlAttributeConfigurationResponse describeInstanceAccessControlAttributeConfiguration(DescribeInstanceAccessControlAttributeConfigurationRequest describeInstanceAccessControlAttributeConfigurationRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Returns the list of IAM Identity Center identity store attributes that have been configured to work with attributes-based access control (ABAC) for the specified IAM Identity Center 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 IAM Identity Center User Guide.
- Parameters:
describeInstanceAccessControlAttributeConfigurationRequest
-- Returns:
- Result of the DescribeInstanceAccessControlAttributeConfiguration operation returned by the service.
- See Also:
-
describeInstanceAccessControlAttributeConfiguration
default DescribeInstanceAccessControlAttributeConfigurationResponse describeInstanceAccessControlAttributeConfiguration(Consumer<DescribeInstanceAccessControlAttributeConfigurationRequest.Builder> describeInstanceAccessControlAttributeConfigurationRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Returns the list of IAM Identity Center identity store attributes that have been configured to work with attributes-based access control (ABAC) for the specified IAM Identity Center 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 IAM Identity Center User Guide.
This is a convenience which creates an instance of the
DescribeInstanceAccessControlAttributeConfigurationRequest.Builder
avoiding the need to create one manually viaDescribeInstanceAccessControlAttributeConfigurationRequest.builder()
- Parameters:
describeInstanceAccessControlAttributeConfigurationRequest
- AConsumer
that will call methods onDescribeInstanceAccessControlAttributeConfigurationRequest.Builder
to create a request.- Returns:
- Result of the DescribeInstanceAccessControlAttributeConfiguration operation returned by the service.
- See Also:
-
describePermissionSet
default DescribePermissionSetResponse describePermissionSet(DescribePermissionSetRequest describePermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Gets the details of the permission set.
- Parameters:
describePermissionSetRequest
-- Returns:
- Result of the DescribePermissionSet operation returned by the service.
- See Also:
-
describePermissionSet
default DescribePermissionSetResponse describePermissionSet(Consumer<DescribePermissionSetRequest.Builder> describePermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, 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 viaDescribePermissionSetRequest.builder()
- Parameters:
describePermissionSetRequest
- AConsumer
that will call methods onDescribePermissionSetRequest.Builder
to create a request.- Returns:
- Result of the DescribePermissionSet operation returned by the service.
- See Also:
-
describePermissionSetProvisioningStatus
default DescribePermissionSetProvisioningStatusResponse describePermissionSetProvisioningStatus(DescribePermissionSetProvisioningStatusRequest describePermissionSetProvisioningStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Describes the status for the given permission set provisioning request.
- Parameters:
describePermissionSetProvisioningStatusRequest
-- Returns:
- Result of the DescribePermissionSetProvisioningStatus operation returned by the service.
- See Also:
-
describePermissionSetProvisioningStatus
default DescribePermissionSetProvisioningStatusResponse describePermissionSetProvisioningStatus(Consumer<DescribePermissionSetProvisioningStatusRequest.Builder> describePermissionSetProvisioningStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, 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 viaDescribePermissionSetProvisioningStatusRequest.builder()
- Parameters:
describePermissionSetProvisioningStatusRequest
- AConsumer
that will call methods onDescribePermissionSetProvisioningStatusRequest.Builder
to create a request.- Returns:
- Result of the DescribePermissionSetProvisioningStatus operation returned by the service.
- See Also:
-
detachCustomerManagedPolicyReferenceFromPermissionSet
default DetachCustomerManagedPolicyReferenceFromPermissionSetResponse detachCustomerManagedPolicyReferenceFromPermissionSet(DetachCustomerManagedPolicyReferenceFromPermissionSetRequest detachCustomerManagedPolicyReferenceFromPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Detaches the specified customer managed policy from the specified PermissionSet.
- Parameters:
detachCustomerManagedPolicyReferenceFromPermissionSetRequest
-- Returns:
- Result of the DetachCustomerManagedPolicyReferenceFromPermissionSet operation returned by the service.
- See Also:
-
detachCustomerManagedPolicyReferenceFromPermissionSet
default DetachCustomerManagedPolicyReferenceFromPermissionSetResponse detachCustomerManagedPolicyReferenceFromPermissionSet(Consumer<DetachCustomerManagedPolicyReferenceFromPermissionSetRequest.Builder> detachCustomerManagedPolicyReferenceFromPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Detaches the specified customer managed policy from the specified PermissionSet.
This is a convenience which creates an instance of the
DetachCustomerManagedPolicyReferenceFromPermissionSetRequest.Builder
avoiding the need to create one manually viaDetachCustomerManagedPolicyReferenceFromPermissionSetRequest.builder()
- Parameters:
detachCustomerManagedPolicyReferenceFromPermissionSetRequest
- AConsumer
that will call methods onDetachCustomerManagedPolicyReferenceFromPermissionSetRequest.Builder
to create a request.- Returns:
- Result of the DetachCustomerManagedPolicyReferenceFromPermissionSet operation returned by the service.
- See Also:
-
detachManagedPolicyFromPermissionSet
default DetachManagedPolicyFromPermissionSetResponse detachManagedPolicyFromPermissionSet(DetachManagedPolicyFromPermissionSetRequest detachManagedPolicyFromPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Detaches the attached Amazon Web Services managed policy ARN from the specified permission set.
- Parameters:
detachManagedPolicyFromPermissionSetRequest
-- Returns:
- Result of the DetachManagedPolicyFromPermissionSet operation returned by the service.
- See Also:
-
detachManagedPolicyFromPermissionSet
default DetachManagedPolicyFromPermissionSetResponse detachManagedPolicyFromPermissionSet(Consumer<DetachManagedPolicyFromPermissionSetRequest.Builder> detachManagedPolicyFromPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Detaches the attached Amazon Web Services 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 viaDetachManagedPolicyFromPermissionSetRequest.builder()
- Parameters:
detachManagedPolicyFromPermissionSetRequest
- AConsumer
that will call methods onDetachManagedPolicyFromPermissionSetRequest.Builder
to create a request.- Returns:
- Result of the DetachManagedPolicyFromPermissionSet operation returned by the service.
- See Also:
-
getInlinePolicyForPermissionSet
default GetInlinePolicyForPermissionSetResponse getInlinePolicyForPermissionSet(GetInlinePolicyForPermissionSetRequest getInlinePolicyForPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Obtains the inline policy assigned to the permission set.
- Parameters:
getInlinePolicyForPermissionSetRequest
-- Returns:
- Result of the GetInlinePolicyForPermissionSet operation returned by the service.
- See Also:
-
getInlinePolicyForPermissionSet
default GetInlinePolicyForPermissionSetResponse getInlinePolicyForPermissionSet(Consumer<GetInlinePolicyForPermissionSetRequest.Builder> getInlinePolicyForPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, 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 viaGetInlinePolicyForPermissionSetRequest.builder()
- Parameters:
getInlinePolicyForPermissionSetRequest
- AConsumer
that will call methods onGetInlinePolicyForPermissionSetRequest.Builder
to create a request.- Returns:
- Result of the GetInlinePolicyForPermissionSet operation returned by the service.
- See Also:
-
getPermissionsBoundaryForPermissionSet
default GetPermissionsBoundaryForPermissionSetResponse getPermissionsBoundaryForPermissionSet(GetPermissionsBoundaryForPermissionSetRequest getPermissionsBoundaryForPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Obtains the permissions boundary for a specified PermissionSet.
- Parameters:
getPermissionsBoundaryForPermissionSetRequest
-- Returns:
- Result of the GetPermissionsBoundaryForPermissionSet operation returned by the service.
- See Also:
-
getPermissionsBoundaryForPermissionSet
default GetPermissionsBoundaryForPermissionSetResponse getPermissionsBoundaryForPermissionSet(Consumer<GetPermissionsBoundaryForPermissionSetRequest.Builder> getPermissionsBoundaryForPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Obtains the permissions boundary for a specified PermissionSet.
This is a convenience which creates an instance of the
GetPermissionsBoundaryForPermissionSetRequest.Builder
avoiding the need to create one manually viaGetPermissionsBoundaryForPermissionSetRequest.builder()
- Parameters:
getPermissionsBoundaryForPermissionSetRequest
- AConsumer
that will call methods onGetPermissionsBoundaryForPermissionSetRequest.Builder
to create a request.- Returns:
- Result of the GetPermissionsBoundaryForPermissionSet operation returned by the service.
- See Also:
-
listAccountAssignmentCreationStatus
default ListAccountAssignmentCreationStatusResponse listAccountAssignmentCreationStatus(ListAccountAssignmentCreationStatusRequest listAccountAssignmentCreationStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the status of the Amazon Web Services account assignment creation requests for a specified IAM Identity Center instance.
- Parameters:
listAccountAssignmentCreationStatusRequest
-- Returns:
- Result of the ListAccountAssignmentCreationStatus operation returned by the service.
- See Also:
-
listAccountAssignmentCreationStatus
default ListAccountAssignmentCreationStatusResponse listAccountAssignmentCreationStatus(Consumer<ListAccountAssignmentCreationStatusRequest.Builder> listAccountAssignmentCreationStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the status of the Amazon Web Services account assignment creation requests for a specified IAM Identity Center instance.
This is a convenience which creates an instance of the
ListAccountAssignmentCreationStatusRequest.Builder
avoiding the need to create one manually viaListAccountAssignmentCreationStatusRequest.builder()
- Parameters:
listAccountAssignmentCreationStatusRequest
- AConsumer
that will call methods onListAccountAssignmentCreationStatusRequest.Builder
to create a request.- Returns:
- Result of the ListAccountAssignmentCreationStatus operation returned by the service.
- See Also:
-
listAccountAssignmentCreationStatusPaginator
default ListAccountAssignmentCreationStatusIterable listAccountAssignmentCreationStatusPaginator(ListAccountAssignmentCreationStatusRequest listAccountAssignmentCreationStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the status of the Amazon Web Services account assignment creation requests for a specified IAM Identity Center 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentCreationStatusIterable responses = client.listAccountAssignmentCreationStatusPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listAccountAssignmentCreationStatusRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAccountAssignmentCreationStatusPaginator
default ListAccountAssignmentCreationStatusIterable listAccountAssignmentCreationStatusPaginator(Consumer<ListAccountAssignmentCreationStatusRequest.Builder> listAccountAssignmentCreationStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the status of the Amazon Web Services account assignment creation requests for a specified IAM Identity Center 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentCreationStatusIterable responses = client.listAccountAssignmentCreationStatusPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListAccountAssignmentCreationStatusRequest.builder()
- Parameters:
listAccountAssignmentCreationStatusRequest
- AConsumer
that will call methods onListAccountAssignmentCreationStatusRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAccountAssignmentDeletionStatus
default ListAccountAssignmentDeletionStatusResponse listAccountAssignmentDeletionStatus(ListAccountAssignmentDeletionStatusRequest listAccountAssignmentDeletionStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the status of the Amazon Web Services account assignment deletion requests for a specified IAM Identity Center instance.
- Parameters:
listAccountAssignmentDeletionStatusRequest
-- Returns:
- Result of the ListAccountAssignmentDeletionStatus operation returned by the service.
- See Also:
-
listAccountAssignmentDeletionStatus
default ListAccountAssignmentDeletionStatusResponse listAccountAssignmentDeletionStatus(Consumer<ListAccountAssignmentDeletionStatusRequest.Builder> listAccountAssignmentDeletionStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the status of the Amazon Web Services account assignment deletion requests for a specified IAM Identity Center instance.
This is a convenience which creates an instance of the
ListAccountAssignmentDeletionStatusRequest.Builder
avoiding the need to create one manually viaListAccountAssignmentDeletionStatusRequest.builder()
- Parameters:
listAccountAssignmentDeletionStatusRequest
- AConsumer
that will call methods onListAccountAssignmentDeletionStatusRequest.Builder
to create a request.- Returns:
- Result of the ListAccountAssignmentDeletionStatus operation returned by the service.
- See Also:
-
listAccountAssignmentDeletionStatusPaginator
default ListAccountAssignmentDeletionStatusIterable listAccountAssignmentDeletionStatusPaginator(ListAccountAssignmentDeletionStatusRequest listAccountAssignmentDeletionStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the status of the Amazon Web Services account assignment deletion requests for a specified IAM Identity Center 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentDeletionStatusIterable responses = client.listAccountAssignmentDeletionStatusPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listAccountAssignmentDeletionStatusRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAccountAssignmentDeletionStatusPaginator
default ListAccountAssignmentDeletionStatusIterable listAccountAssignmentDeletionStatusPaginator(Consumer<ListAccountAssignmentDeletionStatusRequest.Builder> listAccountAssignmentDeletionStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the status of the Amazon Web Services account assignment deletion requests for a specified IAM Identity Center 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentDeletionStatusIterable responses = client.listAccountAssignmentDeletionStatusPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListAccountAssignmentDeletionStatusRequest.builder()
- Parameters:
listAccountAssignmentDeletionStatusRequest
- AConsumer
that will call methods onListAccountAssignmentDeletionStatusRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAccountAssignments
default ListAccountAssignmentsResponse listAccountAssignments(ListAccountAssignmentsRequest listAccountAssignmentsRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the assignee of the specified Amazon Web Services account with the specified permission set.
- Parameters:
listAccountAssignmentsRequest
-- Returns:
- Result of the ListAccountAssignments operation returned by the service.
- See Also:
-
listAccountAssignments
default ListAccountAssignmentsResponse listAccountAssignments(Consumer<ListAccountAssignmentsRequest.Builder> listAccountAssignmentsRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the assignee of the specified Amazon Web Services 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 viaListAccountAssignmentsRequest.builder()
- Parameters:
listAccountAssignmentsRequest
- AConsumer
that will call methods onListAccountAssignmentsRequest.Builder
to create a request.- Returns:
- Result of the ListAccountAssignments operation returned by the service.
- See Also:
-
listAccountAssignmentsPaginator
default ListAccountAssignmentsIterable listAccountAssignmentsPaginator(ListAccountAssignmentsRequest listAccountAssignmentsRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the assignee of the specified Amazon Web Services 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentsIterable responses = client.listAccountAssignmentsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listAccountAssignmentsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAccountAssignmentsPaginator
default ListAccountAssignmentsIterable listAccountAssignmentsPaginator(Consumer<ListAccountAssignmentsRequest.Builder> listAccountAssignmentsRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the assignee of the specified Amazon Web Services 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentsIterable responses = client.listAccountAssignmentsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListAccountAssignmentsRequest.builder()
- Parameters:
listAccountAssignmentsRequest
- AConsumer
that will call methods onListAccountAssignmentsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAccountsForProvisionedPermissionSet
default ListAccountsForProvisionedPermissionSetResponse listAccountsForProvisionedPermissionSet(ListAccountsForProvisionedPermissionSetRequest listAccountsForProvisionedPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists all the Amazon Web Services accounts where the specified permission set is provisioned.
- Parameters:
listAccountsForProvisionedPermissionSetRequest
-- Returns:
- Result of the ListAccountsForProvisionedPermissionSet operation returned by the service.
- See Also:
-
listAccountsForProvisionedPermissionSet
default ListAccountsForProvisionedPermissionSetResponse listAccountsForProvisionedPermissionSet(Consumer<ListAccountsForProvisionedPermissionSetRequest.Builder> listAccountsForProvisionedPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists all the Amazon Web Services 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 viaListAccountsForProvisionedPermissionSetRequest.builder()
- Parameters:
listAccountsForProvisionedPermissionSetRequest
- AConsumer
that will call methods onListAccountsForProvisionedPermissionSetRequest.Builder
to create a request.- Returns:
- Result of the ListAccountsForProvisionedPermissionSet operation returned by the service.
- See Also:
-
listAccountsForProvisionedPermissionSetPaginator
default ListAccountsForProvisionedPermissionSetIterable listAccountsForProvisionedPermissionSetPaginator(ListAccountsForProvisionedPermissionSetRequest listAccountsForProvisionedPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists all the Amazon Web Services 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListAccountsForProvisionedPermissionSetIterable responses = client.listAccountsForProvisionedPermissionSetPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listAccountsForProvisionedPermissionSetRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAccountsForProvisionedPermissionSetPaginator
default ListAccountsForProvisionedPermissionSetIterable listAccountsForProvisionedPermissionSetPaginator(Consumer<ListAccountsForProvisionedPermissionSetRequest.Builder> listAccountsForProvisionedPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists all the Amazon Web Services 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListAccountsForProvisionedPermissionSetIterable responses = client.listAccountsForProvisionedPermissionSetPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListAccountsForProvisionedPermissionSetRequest.builder()
- Parameters:
listAccountsForProvisionedPermissionSetRequest
- AConsumer
that will call methods onListAccountsForProvisionedPermissionSetRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomerManagedPolicyReferencesInPermissionSet
default ListCustomerManagedPolicyReferencesInPermissionSetResponse listCustomerManagedPolicyReferencesInPermissionSet(ListCustomerManagedPolicyReferencesInPermissionSetRequest listCustomerManagedPolicyReferencesInPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists all customer managed policies attached to a specified PermissionSet.
- Parameters:
listCustomerManagedPolicyReferencesInPermissionSetRequest
-- Returns:
- Result of the ListCustomerManagedPolicyReferencesInPermissionSet operation returned by the service.
- See Also:
-
listCustomerManagedPolicyReferencesInPermissionSet
default ListCustomerManagedPolicyReferencesInPermissionSetResponse listCustomerManagedPolicyReferencesInPermissionSet(Consumer<ListCustomerManagedPolicyReferencesInPermissionSetRequest.Builder> listCustomerManagedPolicyReferencesInPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists all customer managed policies attached to a specified PermissionSet.
This is a convenience which creates an instance of the
ListCustomerManagedPolicyReferencesInPermissionSetRequest.Builder
avoiding the need to create one manually viaListCustomerManagedPolicyReferencesInPermissionSetRequest.builder()
- Parameters:
listCustomerManagedPolicyReferencesInPermissionSetRequest
- AConsumer
that will call methods onListCustomerManagedPolicyReferencesInPermissionSetRequest.Builder
to create a request.- Returns:
- Result of the ListCustomerManagedPolicyReferencesInPermissionSet operation returned by the service.
- See Also:
-
listCustomerManagedPolicyReferencesInPermissionSetPaginator
default ListCustomerManagedPolicyReferencesInPermissionSetIterable listCustomerManagedPolicyReferencesInPermissionSetPaginator(ListCustomerManagedPolicyReferencesInPermissionSetRequest listCustomerManagedPolicyReferencesInPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists all customer managed policies attached to a specified PermissionSet.
This is a variant of
listCustomerManagedPolicyReferencesInPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListCustomerManagedPolicyReferencesInPermissionSetRequest)
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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListCustomerManagedPolicyReferencesInPermissionSetIterable responses = client.listCustomerManagedPolicyReferencesInPermissionSetPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListCustomerManagedPolicyReferencesInPermissionSetIterable responses = client .listCustomerManagedPolicyReferencesInPermissionSetPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListCustomerManagedPolicyReferencesInPermissionSetResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.ssoadmin.paginators.ListCustomerManagedPolicyReferencesInPermissionSetIterable responses = client.listCustomerManagedPolicyReferencesInPermissionSetPaginator(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
listCustomerManagedPolicyReferencesInPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListCustomerManagedPolicyReferencesInPermissionSetRequest)
operation.- Parameters:
listCustomerManagedPolicyReferencesInPermissionSetRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomerManagedPolicyReferencesInPermissionSetPaginator
default ListCustomerManagedPolicyReferencesInPermissionSetIterable listCustomerManagedPolicyReferencesInPermissionSetPaginator(Consumer<ListCustomerManagedPolicyReferencesInPermissionSetRequest.Builder> listCustomerManagedPolicyReferencesInPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists all customer managed policies attached to a specified PermissionSet.
This is a variant of
listCustomerManagedPolicyReferencesInPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListCustomerManagedPolicyReferencesInPermissionSetRequest)
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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListCustomerManagedPolicyReferencesInPermissionSetIterable responses = client.listCustomerManagedPolicyReferencesInPermissionSetPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.ssoadmin.paginators.ListCustomerManagedPolicyReferencesInPermissionSetIterable responses = client .listCustomerManagedPolicyReferencesInPermissionSetPaginator(request); for (software.amazon.awssdk.services.ssoadmin.model.ListCustomerManagedPolicyReferencesInPermissionSetResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.ssoadmin.paginators.ListCustomerManagedPolicyReferencesInPermissionSetIterable responses = client.listCustomerManagedPolicyReferencesInPermissionSetPaginator(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
listCustomerManagedPolicyReferencesInPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListCustomerManagedPolicyReferencesInPermissionSetRequest)
operation.This is a convenience which creates an instance of the
ListCustomerManagedPolicyReferencesInPermissionSetRequest.Builder
avoiding the need to create one manually viaListCustomerManagedPolicyReferencesInPermissionSetRequest.builder()
- Parameters:
listCustomerManagedPolicyReferencesInPermissionSetRequest
- AConsumer
that will call methods onListCustomerManagedPolicyReferencesInPermissionSetRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listInstances
default ListInstancesResponse listInstances(ListInstancesRequest listInstancesRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the IAM Identity Center instances that the caller has access to.
- Parameters:
listInstancesRequest
-- Returns:
- Result of the ListInstances operation returned by the service.
- See Also:
-
listInstances
default ListInstancesResponse listInstances(Consumer<ListInstancesRequest.Builder> listInstancesRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the IAM Identity Center 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 viaListInstancesRequest.builder()
- Parameters:
listInstancesRequest
- AConsumer
that will call methods onListInstancesRequest.Builder
to create a request.- Returns:
- Result of the ListInstances operation returned by the service.
- See Also:
-
listInstancesPaginator
default ListInstancesIterable listInstancesPaginator(ListInstancesRequest listInstancesRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the IAM Identity Center 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listInstancesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listInstancesPaginator
default ListInstancesIterable listInstancesPaginator(Consumer<ListInstancesRequest.Builder> listInstancesRequest) throws ThrottlingException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the IAM Identity Center 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListInstancesRequest.builder()
- Parameters:
listInstancesRequest
- AConsumer
that will call methods onListInstancesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedPoliciesInPermissionSet
default ListManagedPoliciesInPermissionSetResponse listManagedPoliciesInPermissionSet(ListManagedPoliciesInPermissionSetRequest listManagedPoliciesInPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the Amazon Web Services managed policy that is attached to a specified permission set.
- Parameters:
listManagedPoliciesInPermissionSetRequest
-- Returns:
- Result of the ListManagedPoliciesInPermissionSet operation returned by the service.
- See Also:
-
listManagedPoliciesInPermissionSet
default ListManagedPoliciesInPermissionSetResponse listManagedPoliciesInPermissionSet(Consumer<ListManagedPoliciesInPermissionSetRequest.Builder> listManagedPoliciesInPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the Amazon Web Services 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 viaListManagedPoliciesInPermissionSetRequest.builder()
- Parameters:
listManagedPoliciesInPermissionSetRequest
- AConsumer
that will call methods onListManagedPoliciesInPermissionSetRequest.Builder
to create a request.- Returns:
- Result of the ListManagedPoliciesInPermissionSet operation returned by the service.
- See Also:
-
listManagedPoliciesInPermissionSetPaginator
default ListManagedPoliciesInPermissionSetIterable listManagedPoliciesInPermissionSetPaginator(ListManagedPoliciesInPermissionSetRequest listManagedPoliciesInPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the Amazon Web Services 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListManagedPoliciesInPermissionSetIterable responses = client.listManagedPoliciesInPermissionSetPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listManagedPoliciesInPermissionSetRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedPoliciesInPermissionSetPaginator
default ListManagedPoliciesInPermissionSetIterable listManagedPoliciesInPermissionSetPaginator(Consumer<ListManagedPoliciesInPermissionSetRequest.Builder> listManagedPoliciesInPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the Amazon Web Services 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListManagedPoliciesInPermissionSetIterable responses = client.listManagedPoliciesInPermissionSetPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListManagedPoliciesInPermissionSetRequest.builder()
- Parameters:
listManagedPoliciesInPermissionSetRequest
- AConsumer
that will call methods onListManagedPoliciesInPermissionSetRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPermissionSetProvisioningStatus
default ListPermissionSetProvisioningStatusResponse listPermissionSetProvisioningStatus(ListPermissionSetProvisioningStatusRequest listPermissionSetProvisioningStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the status of the permission set provisioning requests for a specified IAM Identity Center instance.
- Parameters:
listPermissionSetProvisioningStatusRequest
-- Returns:
- Result of the ListPermissionSetProvisioningStatus operation returned by the service.
- See Also:
-
listPermissionSetProvisioningStatus
default ListPermissionSetProvisioningStatusResponse listPermissionSetProvisioningStatus(Consumer<ListPermissionSetProvisioningStatusRequest.Builder> listPermissionSetProvisioningStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the status of the permission set provisioning requests for a specified IAM Identity Center instance.
This is a convenience which creates an instance of the
ListPermissionSetProvisioningStatusRequest.Builder
avoiding the need to create one manually viaListPermissionSetProvisioningStatusRequest.builder()
- Parameters:
listPermissionSetProvisioningStatusRequest
- AConsumer
that will call methods onListPermissionSetProvisioningStatusRequest.Builder
to create a request.- Returns:
- Result of the ListPermissionSetProvisioningStatus operation returned by the service.
- See Also:
-
listPermissionSetProvisioningStatusPaginator
default ListPermissionSetProvisioningStatusIterable listPermissionSetProvisioningStatusPaginator(ListPermissionSetProvisioningStatusRequest listPermissionSetProvisioningStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the status of the permission set provisioning requests for a specified IAM Identity Center 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetProvisioningStatusIterable responses = client.listPermissionSetProvisioningStatusPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listPermissionSetProvisioningStatusRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPermissionSetProvisioningStatusPaginator
default ListPermissionSetProvisioningStatusIterable listPermissionSetProvisioningStatusPaginator(Consumer<ListPermissionSetProvisioningStatusRequest.Builder> listPermissionSetProvisioningStatusRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the status of the permission set provisioning requests for a specified IAM Identity Center 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetProvisioningStatusIterable responses = client.listPermissionSetProvisioningStatusPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListPermissionSetProvisioningStatusRequest.builder()
- Parameters:
listPermissionSetProvisioningStatusRequest
- AConsumer
that will call methods onListPermissionSetProvisioningStatusRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPermissionSets
default ListPermissionSetsResponse listPermissionSets(ListPermissionSetsRequest listPermissionSetsRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the PermissionSets in an IAM Identity Center instance.
- Parameters:
listPermissionSetsRequest
-- Returns:
- Result of the ListPermissionSets operation returned by the service.
- See Also:
-
listPermissionSets
default ListPermissionSetsResponse listPermissionSets(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the PermissionSets in an IAM Identity Center instance.
This is a convenience which creates an instance of the
ListPermissionSetsRequest.Builder
avoiding the need to create one manually viaListPermissionSetsRequest.builder()
- Parameters:
listPermissionSetsRequest
- AConsumer
that will call methods onListPermissionSetsRequest.Builder
to create a request.- Returns:
- Result of the ListPermissionSets operation returned by the service.
- See Also:
-
listPermissionSetsPaginator
default ListPermissionSetsIterable listPermissionSetsPaginator(ListPermissionSetsRequest listPermissionSetsRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the PermissionSets in an IAM Identity Center 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsIterable responses = client.listPermissionSetsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listPermissionSetsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPermissionSetsPaginator
default ListPermissionSetsIterable listPermissionSetsPaginator(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the PermissionSets in an IAM Identity Center 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsIterable responses = client.listPermissionSetsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListPermissionSetsRequest.builder()
- Parameters:
listPermissionSetsRequest
- AConsumer
that will call methods onListPermissionSetsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPermissionSetsProvisionedToAccount
default ListPermissionSetsProvisionedToAccountResponse listPermissionSetsProvisionedToAccount(ListPermissionSetsProvisionedToAccountRequest listPermissionSetsProvisionedToAccountRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists all the permission sets that are provisioned to a specified Amazon Web Services account.
- Parameters:
listPermissionSetsProvisionedToAccountRequest
-- Returns:
- Result of the ListPermissionSetsProvisionedToAccount operation returned by the service.
- See Also:
-
listPermissionSetsProvisionedToAccount
default ListPermissionSetsProvisionedToAccountResponse listPermissionSetsProvisionedToAccount(Consumer<ListPermissionSetsProvisionedToAccountRequest.Builder> listPermissionSetsProvisionedToAccountRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists all the permission sets that are provisioned to a specified Amazon Web Services account.
This is a convenience which creates an instance of the
ListPermissionSetsProvisionedToAccountRequest.Builder
avoiding the need to create one manually viaListPermissionSetsProvisionedToAccountRequest.builder()
- Parameters:
listPermissionSetsProvisionedToAccountRequest
- AConsumer
that will call methods onListPermissionSetsProvisionedToAccountRequest.Builder
to create a request.- Returns:
- Result of the ListPermissionSetsProvisionedToAccount operation returned by the service.
- See Also:
-
listPermissionSetsProvisionedToAccountPaginator
default ListPermissionSetsProvisionedToAccountIterable listPermissionSetsProvisionedToAccountPaginator(ListPermissionSetsProvisionedToAccountRequest listPermissionSetsProvisionedToAccountRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists all the permission sets that are provisioned to a specified Amazon Web Services 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsProvisionedToAccountIterable responses = client.listPermissionSetsProvisionedToAccountPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listPermissionSetsProvisionedToAccountRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPermissionSetsProvisionedToAccountPaginator
default ListPermissionSetsProvisionedToAccountIterable listPermissionSetsProvisionedToAccountPaginator(Consumer<ListPermissionSetsProvisionedToAccountRequest.Builder> listPermissionSetsProvisionedToAccountRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists all the permission sets that are provisioned to a specified Amazon Web Services 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsProvisionedToAccountIterable responses = client.listPermissionSetsProvisionedToAccountPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListPermissionSetsProvisionedToAccountRequest.builder()
- Parameters:
listPermissionSetsProvisionedToAccountRequest
- AConsumer
that will call methods onListPermissionSetsProvisionedToAccountRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SsoAdminException Lists the tags that are attached to a specified resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, 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 viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResourcePaginator
default ListTagsForResourceIterable listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listTagsForResourceRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResourcePaginator
default ListTagsForResourceIterable listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, 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 Streamsoftware.amazon.awssdk.services.ssoadmin.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
provisionPermissionSet
default ProvisionPermissionSetResponse provisionPermissionSet(ProvisionPermissionSetRequest provisionPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException The process by which a specified permission set is provisioned to the specified target.
- Parameters:
provisionPermissionSetRequest
-- Returns:
- Result of the ProvisionPermissionSet operation returned by the service.
- See Also:
-
provisionPermissionSet
default ProvisionPermissionSetResponse provisionPermissionSet(Consumer<ProvisionPermissionSetRequest.Builder> provisionPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, 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 viaProvisionPermissionSetRequest.builder()
- Parameters:
provisionPermissionSetRequest
- AConsumer
that will call methods onProvisionPermissionSetRequest.Builder
to create a request.- Returns:
- Result of the ProvisionPermissionSet operation returned by the service.
- See Also:
-
putInlinePolicyToPermissionSet
default PutInlinePolicyToPermissionSetResponse putInlinePolicyToPermissionSet(PutInlinePolicyToPermissionSetRequest putInlinePolicyToPermissionSetRequest) throws ServiceQuotaExceededException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Attaches an 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.- Parameters:
putInlinePolicyToPermissionSetRequest
-- Returns:
- Result of the PutInlinePolicyToPermissionSet operation returned by the service.
- See Also:
-
putInlinePolicyToPermissionSet
default PutInlinePolicyToPermissionSetResponse putInlinePolicyToPermissionSet(Consumer<PutInlinePolicyToPermissionSetRequest.Builder> putInlinePolicyToPermissionSetRequest) throws ServiceQuotaExceededException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Attaches an 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 viaPutInlinePolicyToPermissionSetRequest.builder()
- Parameters:
putInlinePolicyToPermissionSetRequest
- AConsumer
that will call methods onPutInlinePolicyToPermissionSetRequest.Builder
to create a request.- Returns:
- Result of the PutInlinePolicyToPermissionSet operation returned by the service.
- See Also:
-
putPermissionsBoundaryToPermissionSet
default PutPermissionsBoundaryToPermissionSetResponse putPermissionsBoundaryToPermissionSet(PutPermissionsBoundaryToPermissionSetRequest putPermissionsBoundaryToPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Attaches an Amazon Web Services managed or customer managed policy to the specified PermissionSet as a permissions boundary.
- Parameters:
putPermissionsBoundaryToPermissionSetRequest
-- Returns:
- Result of the PutPermissionsBoundaryToPermissionSet operation returned by the service.
- See Also:
-
putPermissionsBoundaryToPermissionSet
default PutPermissionsBoundaryToPermissionSetResponse putPermissionsBoundaryToPermissionSet(Consumer<PutPermissionsBoundaryToPermissionSetRequest.Builder> putPermissionsBoundaryToPermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Attaches an Amazon Web Services managed or customer managed policy to the specified PermissionSet as a permissions boundary.
This is a convenience which creates an instance of the
PutPermissionsBoundaryToPermissionSetRequest.Builder
avoiding the need to create one manually viaPutPermissionsBoundaryToPermissionSetRequest.builder()
- Parameters:
putPermissionsBoundaryToPermissionSetRequest
- AConsumer
that will call methods onPutPermissionsBoundaryToPermissionSetRequest.Builder
to create a request.- Returns:
- Result of the PutPermissionsBoundaryToPermissionSet operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ServiceQuotaExceededException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Associates a set of tags with a specified resource.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ServiceQuotaExceededException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, 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 viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Disassociates a set of tags from a specified resource.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, 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 viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateInstanceAccessControlAttributeConfiguration
default UpdateInstanceAccessControlAttributeConfigurationResponse updateInstanceAccessControlAttributeConfiguration(UpdateInstanceAccessControlAttributeConfigurationRequest updateInstanceAccessControlAttributeConfigurationRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Updates the IAM Identity Center identity store attributes that you can use with the IAM Identity Center 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 IAM Identity Center identity store. If a SAML assertion passes any of these attributes, IAM Identity Center replaces the attribute value with the value from the IAM Identity Center identity store. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.
- Parameters:
updateInstanceAccessControlAttributeConfigurationRequest
-- Returns:
- Result of the UpdateInstanceAccessControlAttributeConfiguration operation returned by the service.
- See Also:
-
updateInstanceAccessControlAttributeConfiguration
default UpdateInstanceAccessControlAttributeConfigurationResponse updateInstanceAccessControlAttributeConfiguration(Consumer<UpdateInstanceAccessControlAttributeConfigurationRequest.Builder> updateInstanceAccessControlAttributeConfigurationRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Updates the IAM Identity Center identity store attributes that you can use with the IAM Identity Center 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 IAM Identity Center identity store. If a SAML assertion passes any of these attributes, IAM Identity Center replaces the attribute value with the value from the IAM Identity Center identity store. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.
This is a convenience which creates an instance of the
UpdateInstanceAccessControlAttributeConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateInstanceAccessControlAttributeConfigurationRequest.builder()
- Parameters:
updateInstanceAccessControlAttributeConfigurationRequest
- AConsumer
that will call methods onUpdateInstanceAccessControlAttributeConfigurationRequest.Builder
to create a request.- Returns:
- Result of the UpdateInstanceAccessControlAttributeConfiguration operation returned by the service.
- See Also:
-
updatePermissionSet
default UpdatePermissionSetResponse updatePermissionSet(UpdatePermissionSetRequest updatePermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException Updates an existing permission set.
- Parameters:
updatePermissionSetRequest
-- Returns:
- Result of the UpdatePermissionSet operation returned by the service.
- See Also:
-
updatePermissionSet
default UpdatePermissionSetResponse updatePermissionSet(Consumer<UpdatePermissionSetRequest.Builder> updatePermissionSetRequest) throws ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ValidationException, 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 viaUpdatePermissionSetRequest.builder()
- Parameters:
updatePermissionSetRequest
- AConsumer
that will call methods onUpdatePermissionSetRequest.Builder
to create a request.- Returns:
- Result of the UpdatePermissionSet operation returned by the service.
- See Also:
-
create
Create aSsoAdminClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aSsoAdminClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-