
software.amazon.awssdk.services.ssoadmin.SsoAdminClient Maven / Gradle / Ivy
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.ssoadmin;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.ssoadmin.model.AccessDeniedException;
import software.amazon.awssdk.services.ssoadmin.model.AttachCustomerManagedPolicyReferenceToPermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.AttachCustomerManagedPolicyReferenceToPermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.AttachManagedPolicyToPermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.AttachManagedPolicyToPermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.ConflictException;
import software.amazon.awssdk.services.ssoadmin.model.CreateAccountAssignmentRequest;
import software.amazon.awssdk.services.ssoadmin.model.CreateAccountAssignmentResponse;
import software.amazon.awssdk.services.ssoadmin.model.CreateInstanceAccessControlAttributeConfigurationRequest;
import software.amazon.awssdk.services.ssoadmin.model.CreateInstanceAccessControlAttributeConfigurationResponse;
import software.amazon.awssdk.services.ssoadmin.model.CreatePermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.CreatePermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.DeleteAccountAssignmentRequest;
import software.amazon.awssdk.services.ssoadmin.model.DeleteAccountAssignmentResponse;
import software.amazon.awssdk.services.ssoadmin.model.DeleteInlinePolicyFromPermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.DeleteInlinePolicyFromPermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.DeleteInstanceAccessControlAttributeConfigurationRequest;
import software.amazon.awssdk.services.ssoadmin.model.DeleteInstanceAccessControlAttributeConfigurationResponse;
import software.amazon.awssdk.services.ssoadmin.model.DeletePermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.DeletePermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.DeletePermissionsBoundaryFromPermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.DeletePermissionsBoundaryFromPermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.DescribeAccountAssignmentCreationStatusRequest;
import software.amazon.awssdk.services.ssoadmin.model.DescribeAccountAssignmentCreationStatusResponse;
import software.amazon.awssdk.services.ssoadmin.model.DescribeAccountAssignmentDeletionStatusRequest;
import software.amazon.awssdk.services.ssoadmin.model.DescribeAccountAssignmentDeletionStatusResponse;
import software.amazon.awssdk.services.ssoadmin.model.DescribeInstanceAccessControlAttributeConfigurationRequest;
import software.amazon.awssdk.services.ssoadmin.model.DescribeInstanceAccessControlAttributeConfigurationResponse;
import software.amazon.awssdk.services.ssoadmin.model.DescribePermissionSetProvisioningStatusRequest;
import software.amazon.awssdk.services.ssoadmin.model.DescribePermissionSetProvisioningStatusResponse;
import software.amazon.awssdk.services.ssoadmin.model.DescribePermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.DescribePermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.DetachCustomerManagedPolicyReferenceFromPermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.DetachCustomerManagedPolicyReferenceFromPermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.DetachManagedPolicyFromPermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.DetachManagedPolicyFromPermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.GetInlinePolicyForPermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.GetInlinePolicyForPermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.GetPermissionsBoundaryForPermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.GetPermissionsBoundaryForPermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.InternalServerException;
import software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentCreationStatusRequest;
import software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentCreationStatusResponse;
import software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentDeletionStatusRequest;
import software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentDeletionStatusResponse;
import software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentsRequest;
import software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentsResponse;
import software.amazon.awssdk.services.ssoadmin.model.ListAccountsForProvisionedPermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.ListAccountsForProvisionedPermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.ListCustomerManagedPolicyReferencesInPermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.ListCustomerManagedPolicyReferencesInPermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.ListInstancesRequest;
import software.amazon.awssdk.services.ssoadmin.model.ListInstancesResponse;
import software.amazon.awssdk.services.ssoadmin.model.ListManagedPoliciesInPermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.ListManagedPoliciesInPermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetProvisioningStatusRequest;
import software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetProvisioningStatusResponse;
import software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsProvisionedToAccountRequest;
import software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsProvisionedToAccountResponse;
import software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsRequest;
import software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsResponse;
import software.amazon.awssdk.services.ssoadmin.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.ssoadmin.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.ssoadmin.model.ProvisionPermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.ProvisionPermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.PutInlinePolicyToPermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.PutInlinePolicyToPermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.PutPermissionsBoundaryToPermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.PutPermissionsBoundaryToPermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.ResourceNotFoundException;
import software.amazon.awssdk.services.ssoadmin.model.ServiceQuotaExceededException;
import software.amazon.awssdk.services.ssoadmin.model.SsoAdminException;
import software.amazon.awssdk.services.ssoadmin.model.TagResourceRequest;
import software.amazon.awssdk.services.ssoadmin.model.TagResourceResponse;
import software.amazon.awssdk.services.ssoadmin.model.ThrottlingException;
import software.amazon.awssdk.services.ssoadmin.model.UntagResourceRequest;
import software.amazon.awssdk.services.ssoadmin.model.UntagResourceResponse;
import software.amazon.awssdk.services.ssoadmin.model.UpdateInstanceAccessControlAttributeConfigurationRequest;
import software.amazon.awssdk.services.ssoadmin.model.UpdateInstanceAccessControlAttributeConfigurationResponse;
import software.amazon.awssdk.services.ssoadmin.model.UpdatePermissionSetRequest;
import software.amazon.awssdk.services.ssoadmin.model.UpdatePermissionSetResponse;
import software.amazon.awssdk.services.ssoadmin.model.ValidationException;
import software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentCreationStatusIterable;
import software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentDeletionStatusIterable;
import software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentsIterable;
import software.amazon.awssdk.services.ssoadmin.paginators.ListAccountsForProvisionedPermissionSetIterable;
import software.amazon.awssdk.services.ssoadmin.paginators.ListCustomerManagedPolicyReferencesInPermissionSetIterable;
import software.amazon.awssdk.services.ssoadmin.paginators.ListInstancesIterable;
import software.amazon.awssdk.services.ssoadmin.paginators.ListManagedPoliciesInPermissionSetIterable;
import software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetProvisioningStatusIterable;
import software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsIterable;
import software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsProvisionedToAccountIterable;
import software.amazon.awssdk.services.ssoadmin.paginators.ListTagsForResourceIterable;
/**
* Service client for accessing SSO Admin. This can be created using the static {@link #builder()} method.
*
*
* AWS IAM Identity Center (successor to AWS Single Sign-On) helps you securely create, or connect, your workforce
* identities and manage their access centrally across AWS accounts and applications. IAM Identity Center is the
* recommended approach for workforce authentication and authorization in AWS, for organizations of any size and type.
*
*
*
* Although AWS Single Sign-On was renamed, the sso
and identitystore
API namespaces will
* continue to retain their original name for backward compatibility purposes. For more information, see IAM Identity Center rename.
*
*
*
* This reference guide provides information on single sign-on operations which could be used for access management of
* AWS 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.
*
*
*
* AWS 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 AWS services. For more information about the AWS SDKs, including how to download and install them,
* see Tools for Amazon Web Services.
*
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface SsoAdminClient extends SdkClient {
String SERVICE_NAME = "sso";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "sso";
/**
* Create a {@link SsoAdminClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
*/
static SsoAdminClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link SsoAdminClient}.
*/
static SsoAdminClientBuilder builder() {
return new DefaultSsoAdminClientBuilder();
}
/**
*
* Attaches the specified customer managed policy to the specified PermissionSet.
*
*
* @param attachCustomerManagedPolicyReferenceToPermissionSetRequest
* @return Result of the AttachCustomerManagedPolicyReferenceToPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ServiceQuotaExceededException
* Indicates that the principal has crossed the permitted number of resources that can be created.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.AttachCustomerManagedPolicyReferenceToPermissionSet
* @see AWS API Documentation
*/
default AttachCustomerManagedPolicyReferenceToPermissionSetResponse attachCustomerManagedPolicyReferenceToPermissionSet(
AttachCustomerManagedPolicyReferenceToPermissionSetRequest attachCustomerManagedPolicyReferenceToPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException,
ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException,
SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Attaches the specified customer managed policy to the specified PermissionSet.
*
*
*
* This is a convenience which creates an instance of the
* {@link AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder} avoiding the need to create one
* manually via {@link AttachCustomerManagedPolicyReferenceToPermissionSetRequest#builder()}
*
*
* @param attachCustomerManagedPolicyReferenceToPermissionSetRequest
* A {@link Consumer} that will call methods on
* {@link AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder} to create a request.
* @return Result of the AttachCustomerManagedPolicyReferenceToPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ServiceQuotaExceededException
* Indicates that the principal has crossed the permitted number of resources that can be created.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.AttachCustomerManagedPolicyReferenceToPermissionSet
* @see AWS API Documentation
*/
default AttachCustomerManagedPolicyReferenceToPermissionSetResponse attachCustomerManagedPolicyReferenceToPermissionSet(
Consumer attachCustomerManagedPolicyReferenceToPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException,
ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException,
SsoAdminException {
return attachCustomerManagedPolicyReferenceToPermissionSet(AttachCustomerManagedPolicyReferenceToPermissionSetRequest
.builder().applyMutation(attachCustomerManagedPolicyReferenceToPermissionSetRequest).build());
}
/**
*
* Attaches an AWS 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. Calling ProvisionPermissionSet
* applies the corresponding IAM policy updates to all assigned accounts.
*
*
*
* @param attachManagedPolicyToPermissionSetRequest
* @return Result of the AttachManagedPolicyToPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ServiceQuotaExceededException
* Indicates that the principal has crossed the permitted number of resources that can be created.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.AttachManagedPolicyToPermissionSet
* @see AWS API Documentation
*/
default AttachManagedPolicyToPermissionSetResponse attachManagedPolicyToPermissionSet(
AttachManagedPolicyToPermissionSetRequest attachManagedPolicyToPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException,
ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException,
SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Attaches an AWS 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. Calling ProvisionPermissionSet
* applies the corresponding IAM policy updates to all assigned accounts.
*
*
*
* This is a convenience which creates an instance of the {@link AttachManagedPolicyToPermissionSetRequest.Builder}
* avoiding the need to create one manually via {@link AttachManagedPolicyToPermissionSetRequest#builder()}
*
*
* @param attachManagedPolicyToPermissionSetRequest
* A {@link Consumer} that will call methods on {@link AttachManagedPolicyToPermissionSetRequest.Builder} to
* create a request.
* @return Result of the AttachManagedPolicyToPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ServiceQuotaExceededException
* Indicates that the principal has crossed the permitted number of resources that can be created.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.AttachManagedPolicyToPermissionSet
* @see AWS API Documentation
*/
default AttachManagedPolicyToPermissionSetResponse attachManagedPolicyToPermissionSet(
Consumer attachManagedPolicyToPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException,
ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException,
SsoAdminException {
return attachManagedPolicyToPermissionSet(AttachManagedPolicyToPermissionSetRequest.builder()
.applyMutation(attachManagedPolicyToPermissionSetRequest).build());
}
/**
*
* Assigns access to a principal for a specified AWS account using a specified permission set.
*
*
*
* The term principal here refers to a user or group that is defined in 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 call
* ProvisionPermissionSet
to make these updates.
*
*
*
* After a successful response, call DescribeAccountAssignmentCreationStatus
to describe the status of
* an assignment creation request.
*
*
*
* @param createAccountAssignmentRequest
* @return Result of the CreateAccountAssignment operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ServiceQuotaExceededException
* Indicates that the principal has crossed the permitted number of resources that can be created.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.CreateAccountAssignment
* @see AWS API Documentation
*/
default CreateAccountAssignmentResponse createAccountAssignment(CreateAccountAssignmentRequest createAccountAssignmentRequest)
throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException,
ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException,
SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Assigns access to a principal for a specified AWS account using a specified permission set.
*
*
*
* The term principal here refers to a user or group that is defined in 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 call
* ProvisionPermissionSet
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 {@link CreateAccountAssignmentRequest.Builder} avoiding
* the need to create one manually via {@link CreateAccountAssignmentRequest#builder()}
*
*
* @param createAccountAssignmentRequest
* A {@link Consumer} that will call methods on {@link CreateAccountAssignmentRequest.Builder} to create a
* request.
* @return Result of the CreateAccountAssignment operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ServiceQuotaExceededException
* Indicates that the principal has crossed the permitted number of resources that can be created.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.CreateAccountAssignment
* @see AWS API Documentation
*/
default CreateAccountAssignmentResponse createAccountAssignment(
Consumer createAccountAssignmentRequest) throws ResourceNotFoundException,
InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
return createAccountAssignment(CreateAccountAssignmentRequest.builder().applyMutation(createAccountAssignmentRequest)
.build());
}
/**
*
* 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
* that InstanceAccessControlAttributeConfiguration
was created.
*
*
*
* @param createInstanceAccessControlAttributeConfigurationRequest
* @return Result of the CreateInstanceAccessControlAttributeConfiguration operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.CreateInstanceAccessControlAttributeConfiguration
* @see AWS API Documentation
*/
default CreateInstanceAccessControlAttributeConfigurationResponse createInstanceAccessControlAttributeConfiguration(
CreateInstanceAccessControlAttributeConfigurationRequest createInstanceAccessControlAttributeConfigurationRequest)
throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException,
ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* 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
* that InstanceAccessControlAttributeConfiguration
was created.
*
*
*
* This is a convenience which creates an instance of the
* {@link CreateInstanceAccessControlAttributeConfigurationRequest.Builder} avoiding the need to create one manually
* via {@link CreateInstanceAccessControlAttributeConfigurationRequest#builder()}
*
*
* @param createInstanceAccessControlAttributeConfigurationRequest
* A {@link Consumer} that will call methods on
* {@link CreateInstanceAccessControlAttributeConfigurationRequest.Builder} to create a request.
* @return Result of the CreateInstanceAccessControlAttributeConfiguration operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.CreateInstanceAccessControlAttributeConfiguration
* @see AWS API Documentation
*/
default CreateInstanceAccessControlAttributeConfigurationResponse createInstanceAccessControlAttributeConfiguration(
Consumer createInstanceAccessControlAttributeConfigurationRequest)
throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException,
ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
return createInstanceAccessControlAttributeConfiguration(CreateInstanceAccessControlAttributeConfigurationRequest
.builder().applyMutation(createInstanceAccessControlAttributeConfigurationRequest).build());
}
/**
*
* Creates a permission set within a specified IAM Identity Center instance.
*
*
*
* To grant users and groups access to AWS account resources, use CreateAccountAssignment
.
*
*
*
* @param createPermissionSetRequest
* @return Result of the CreatePermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ServiceQuotaExceededException
* Indicates that the principal has crossed the permitted number of resources that can be created.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.CreatePermissionSet
* @see AWS
* API Documentation
*/
default CreatePermissionSetResponse createPermissionSet(CreatePermissionSetRequest createPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException,
ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException,
SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a permission set within a specified IAM Identity Center instance.
*
*
*
* To grant users and groups access to AWS account resources, use CreateAccountAssignment
.
*
*
*
* This is a convenience which creates an instance of the {@link CreatePermissionSetRequest.Builder} avoiding the
* need to create one manually via {@link CreatePermissionSetRequest#builder()}
*
*
* @param createPermissionSetRequest
* A {@link Consumer} that will call methods on {@link CreatePermissionSetRequest.Builder} to create a
* request.
* @return Result of the CreatePermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ServiceQuotaExceededException
* Indicates that the principal has crossed the permitted number of resources that can be created.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.CreatePermissionSet
* @see AWS
* API Documentation
*/
default CreatePermissionSetResponse createPermissionSet(
Consumer createPermissionSetRequest) throws ResourceNotFoundException,
InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
return createPermissionSet(CreatePermissionSetRequest.builder().applyMutation(createPermissionSetRequest).build());
}
/**
*
* Deletes a principal's access from a specified AWS account using a specified permission set.
*
*
*
* After a successful response, call DescribeAccountAssignmentCreationStatus
to describe the status of
* an assignment deletion request.
*
*
*
* @param deleteAccountAssignmentRequest
* @return Result of the DeleteAccountAssignment operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DeleteAccountAssignment
* @see AWS API Documentation
*/
default DeleteAccountAssignmentResponse deleteAccountAssignment(DeleteAccountAssignmentRequest deleteAccountAssignmentRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a principal's access from a specified AWS account using a specified permission set.
*
*
*
* After a successful response, call DescribeAccountAssignmentCreationStatus
to describe the status of
* an assignment deletion request.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteAccountAssignmentRequest.Builder} avoiding
* the need to create one manually via {@link DeleteAccountAssignmentRequest#builder()}
*
*
* @param deleteAccountAssignmentRequest
* A {@link Consumer} that will call methods on {@link DeleteAccountAssignmentRequest.Builder} to create a
* request.
* @return Result of the DeleteAccountAssignment operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DeleteAccountAssignment
* @see AWS API Documentation
*/
default DeleteAccountAssignmentResponse deleteAccountAssignment(
Consumer deleteAccountAssignmentRequest) throws ResourceNotFoundException,
InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException,
AwsServiceException, SdkClientException, SsoAdminException {
return deleteAccountAssignment(DeleteAccountAssignmentRequest.builder().applyMutation(deleteAccountAssignmentRequest)
.build());
}
/**
*
* Deletes the inline policy from a specified permission set.
*
*
* @param deleteInlinePolicyFromPermissionSetRequest
* @return Result of the DeleteInlinePolicyFromPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DeleteInlinePolicyFromPermissionSet
* @see AWS API Documentation
*/
default DeleteInlinePolicyFromPermissionSetResponse deleteInlinePolicyFromPermissionSet(
DeleteInlinePolicyFromPermissionSetRequest deleteInlinePolicyFromPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the inline policy from a specified permission set.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteInlinePolicyFromPermissionSetRequest.Builder}
* avoiding the need to create one manually via {@link DeleteInlinePolicyFromPermissionSetRequest#builder()}
*
*
* @param deleteInlinePolicyFromPermissionSetRequest
* A {@link Consumer} that will call methods on {@link DeleteInlinePolicyFromPermissionSetRequest.Builder} to
* create a request.
* @return Result of the DeleteInlinePolicyFromPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DeleteInlinePolicyFromPermissionSet
* @see AWS API Documentation
*/
default DeleteInlinePolicyFromPermissionSetResponse deleteInlinePolicyFromPermissionSet(
Consumer deleteInlinePolicyFromPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
return deleteInlinePolicyFromPermissionSet(DeleteInlinePolicyFromPermissionSetRequest.builder()
.applyMutation(deleteInlinePolicyFromPermissionSetRequest).build());
}
/**
*
* 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.
*
*
* @param deleteInstanceAccessControlAttributeConfigurationRequest
* @return Result of the DeleteInstanceAccessControlAttributeConfiguration operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DeleteInstanceAccessControlAttributeConfiguration
* @see AWS API Documentation
*/
default DeleteInstanceAccessControlAttributeConfigurationResponse deleteInstanceAccessControlAttributeConfiguration(
DeleteInstanceAccessControlAttributeConfigurationRequest deleteInstanceAccessControlAttributeConfigurationRequest)
throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException,
ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* 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
* {@link DeleteInstanceAccessControlAttributeConfigurationRequest.Builder} avoiding the need to create one manually
* via {@link DeleteInstanceAccessControlAttributeConfigurationRequest#builder()}
*
*
* @param deleteInstanceAccessControlAttributeConfigurationRequest
* A {@link Consumer} that will call methods on
* {@link DeleteInstanceAccessControlAttributeConfigurationRequest.Builder} to create a request.
* @return Result of the DeleteInstanceAccessControlAttributeConfiguration operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DeleteInstanceAccessControlAttributeConfiguration
* @see AWS API Documentation
*/
default DeleteInstanceAccessControlAttributeConfigurationResponse deleteInstanceAccessControlAttributeConfiguration(
Consumer deleteInstanceAccessControlAttributeConfigurationRequest)
throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException,
ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
return deleteInstanceAccessControlAttributeConfiguration(DeleteInstanceAccessControlAttributeConfigurationRequest
.builder().applyMutation(deleteInstanceAccessControlAttributeConfigurationRequest).build());
}
/**
*
* Deletes the specified permission set.
*
*
* @param deletePermissionSetRequest
* @return Result of the DeletePermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DeletePermissionSet
* @see AWS
* API Documentation
*/
default DeletePermissionSetResponse deletePermissionSet(DeletePermissionSetRequest deletePermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified permission set.
*
*
*
* This is a convenience which creates an instance of the {@link DeletePermissionSetRequest.Builder} avoiding the
* need to create one manually via {@link DeletePermissionSetRequest#builder()}
*
*
* @param deletePermissionSetRequest
* A {@link Consumer} that will call methods on {@link DeletePermissionSetRequest.Builder} to create a
* request.
* @return Result of the DeletePermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DeletePermissionSet
* @see AWS
* API Documentation
*/
default DeletePermissionSetResponse deletePermissionSet(
Consumer deletePermissionSetRequest) throws ResourceNotFoundException,
InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException,
AwsServiceException, SdkClientException, SsoAdminException {
return deletePermissionSet(DeletePermissionSetRequest.builder().applyMutation(deletePermissionSetRequest).build());
}
/**
*
* Deletes the permissions boundary from a specified PermissionSet.
*
*
* @param deletePermissionsBoundaryFromPermissionSetRequest
* @return Result of the DeletePermissionsBoundaryFromPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DeletePermissionsBoundaryFromPermissionSet
* @see AWS API Documentation
*/
default DeletePermissionsBoundaryFromPermissionSetResponse deletePermissionsBoundaryFromPermissionSet(
DeletePermissionsBoundaryFromPermissionSetRequest deletePermissionsBoundaryFromPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the permissions boundary from a specified PermissionSet.
*
*
*
* This is a convenience which creates an instance of the
* {@link DeletePermissionsBoundaryFromPermissionSetRequest.Builder} avoiding the need to create one manually via
* {@link DeletePermissionsBoundaryFromPermissionSetRequest#builder()}
*
*
* @param deletePermissionsBoundaryFromPermissionSetRequest
* A {@link Consumer} that will call methods on
* {@link DeletePermissionsBoundaryFromPermissionSetRequest.Builder} to create a request.
* @return Result of the DeletePermissionsBoundaryFromPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DeletePermissionsBoundaryFromPermissionSet
* @see AWS API Documentation
*/
default DeletePermissionsBoundaryFromPermissionSetResponse deletePermissionsBoundaryFromPermissionSet(
Consumer deletePermissionsBoundaryFromPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return deletePermissionsBoundaryFromPermissionSet(DeletePermissionsBoundaryFromPermissionSetRequest.builder()
.applyMutation(deletePermissionsBoundaryFromPermissionSetRequest).build());
}
/**
*
* Describes the status of the assignment creation request.
*
*
* @param describeAccountAssignmentCreationStatusRequest
* @return Result of the DescribeAccountAssignmentCreationStatus operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DescribeAccountAssignmentCreationStatus
* @see AWS API Documentation
*/
default DescribeAccountAssignmentCreationStatusResponse describeAccountAssignmentCreationStatus(
DescribeAccountAssignmentCreationStatusRequest describeAccountAssignmentCreationStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Describes the status of the assignment creation request.
*
*
*
* This is a convenience which creates an instance of the
* {@link DescribeAccountAssignmentCreationStatusRequest.Builder} avoiding the need to create one manually via
* {@link DescribeAccountAssignmentCreationStatusRequest#builder()}
*
*
* @param describeAccountAssignmentCreationStatusRequest
* A {@link Consumer} that will call methods on
* {@link DescribeAccountAssignmentCreationStatusRequest.Builder} to create a request.
* @return Result of the DescribeAccountAssignmentCreationStatus operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DescribeAccountAssignmentCreationStatus
* @see AWS API Documentation
*/
default DescribeAccountAssignmentCreationStatusResponse describeAccountAssignmentCreationStatus(
Consumer describeAccountAssignmentCreationStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return describeAccountAssignmentCreationStatus(DescribeAccountAssignmentCreationStatusRequest.builder()
.applyMutation(describeAccountAssignmentCreationStatusRequest).build());
}
/**
*
* Describes the status of the assignment deletion request.
*
*
* @param describeAccountAssignmentDeletionStatusRequest
* @return Result of the DescribeAccountAssignmentDeletionStatus operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DescribeAccountAssignmentDeletionStatus
* @see AWS API Documentation
*/
default DescribeAccountAssignmentDeletionStatusResponse describeAccountAssignmentDeletionStatus(
DescribeAccountAssignmentDeletionStatusRequest describeAccountAssignmentDeletionStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Describes the status of the assignment deletion request.
*
*
*
* This is a convenience which creates an instance of the
* {@link DescribeAccountAssignmentDeletionStatusRequest.Builder} avoiding the need to create one manually via
* {@link DescribeAccountAssignmentDeletionStatusRequest#builder()}
*
*
* @param describeAccountAssignmentDeletionStatusRequest
* A {@link Consumer} that will call methods on
* {@link DescribeAccountAssignmentDeletionStatusRequest.Builder} to create a request.
* @return Result of the DescribeAccountAssignmentDeletionStatus operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DescribeAccountAssignmentDeletionStatus
* @see AWS API Documentation
*/
default DescribeAccountAssignmentDeletionStatusResponse describeAccountAssignmentDeletionStatus(
Consumer describeAccountAssignmentDeletionStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return describeAccountAssignmentDeletionStatus(DescribeAccountAssignmentDeletionStatusRequest.builder()
.applyMutation(describeAccountAssignmentDeletionStatusRequest).build());
}
/**
*
* 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.
*
*
* @param describeInstanceAccessControlAttributeConfigurationRequest
* @return Result of the DescribeInstanceAccessControlAttributeConfiguration operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DescribeInstanceAccessControlAttributeConfiguration
* @see AWS API Documentation
*/
default DescribeInstanceAccessControlAttributeConfigurationResponse describeInstanceAccessControlAttributeConfiguration(
DescribeInstanceAccessControlAttributeConfigurationRequest describeInstanceAccessControlAttributeConfigurationRequest)
throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ThrottlingException,
ValidationException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* 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
* {@link DescribeInstanceAccessControlAttributeConfigurationRequest.Builder} avoiding the need to create one
* manually via {@link DescribeInstanceAccessControlAttributeConfigurationRequest#builder()}
*
*
* @param describeInstanceAccessControlAttributeConfigurationRequest
* A {@link Consumer} that will call methods on
* {@link DescribeInstanceAccessControlAttributeConfigurationRequest.Builder} to create a request.
* @return Result of the DescribeInstanceAccessControlAttributeConfiguration operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DescribeInstanceAccessControlAttributeConfiguration
* @see AWS API Documentation
*/
default DescribeInstanceAccessControlAttributeConfigurationResponse describeInstanceAccessControlAttributeConfiguration(
Consumer describeInstanceAccessControlAttributeConfigurationRequest)
throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ThrottlingException,
ValidationException, AwsServiceException, SdkClientException, SsoAdminException {
return describeInstanceAccessControlAttributeConfiguration(DescribeInstanceAccessControlAttributeConfigurationRequest
.builder().applyMutation(describeInstanceAccessControlAttributeConfigurationRequest).build());
}
/**
*
* Gets the details of the permission set.
*
*
* @param describePermissionSetRequest
* @return Result of the DescribePermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DescribePermissionSet
* @see AWS API Documentation
*/
default DescribePermissionSetResponse describePermissionSet(DescribePermissionSetRequest describePermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Gets the details of the permission set.
*
*
*
* This is a convenience which creates an instance of the {@link DescribePermissionSetRequest.Builder} avoiding the
* need to create one manually via {@link DescribePermissionSetRequest#builder()}
*
*
* @param describePermissionSetRequest
* A {@link Consumer} that will call methods on {@link DescribePermissionSetRequest.Builder} to create a
* request.
* @return Result of the DescribePermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DescribePermissionSet
* @see AWS API Documentation
*/
default DescribePermissionSetResponse describePermissionSet(
Consumer describePermissionSetRequest) throws ResourceNotFoundException,
InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException,
SdkClientException, SsoAdminException {
return describePermissionSet(DescribePermissionSetRequest.builder().applyMutation(describePermissionSetRequest).build());
}
/**
*
* Describes the status for the given permission set provisioning request.
*
*
* @param describePermissionSetProvisioningStatusRequest
* @return Result of the DescribePermissionSetProvisioningStatus operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DescribePermissionSetProvisioningStatus
* @see AWS API Documentation
*/
default DescribePermissionSetProvisioningStatusResponse describePermissionSetProvisioningStatus(
DescribePermissionSetProvisioningStatusRequest describePermissionSetProvisioningStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Describes the status for the given permission set provisioning request.
*
*
*
* This is a convenience which creates an instance of the
* {@link DescribePermissionSetProvisioningStatusRequest.Builder} avoiding the need to create one manually via
* {@link DescribePermissionSetProvisioningStatusRequest#builder()}
*
*
* @param describePermissionSetProvisioningStatusRequest
* A {@link Consumer} that will call methods on
* {@link DescribePermissionSetProvisioningStatusRequest.Builder} to create a request.
* @return Result of the DescribePermissionSetProvisioningStatus operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DescribePermissionSetProvisioningStatus
* @see AWS API Documentation
*/
default DescribePermissionSetProvisioningStatusResponse describePermissionSetProvisioningStatus(
Consumer describePermissionSetProvisioningStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return describePermissionSetProvisioningStatus(DescribePermissionSetProvisioningStatusRequest.builder()
.applyMutation(describePermissionSetProvisioningStatusRequest).build());
}
/**
*
* Detaches the specified customer managed policy from the specified PermissionSet.
*
*
* @param detachCustomerManagedPolicyReferenceFromPermissionSetRequest
* @return Result of the DetachCustomerManagedPolicyReferenceFromPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DetachCustomerManagedPolicyReferenceFromPermissionSet
* @see AWS API Documentation
*/
default DetachCustomerManagedPolicyReferenceFromPermissionSetResponse detachCustomerManagedPolicyReferenceFromPermissionSet(
DetachCustomerManagedPolicyReferenceFromPermissionSetRequest detachCustomerManagedPolicyReferenceFromPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Detaches the specified customer managed policy from the specified PermissionSet.
*
*
*
* This is a convenience which creates an instance of the
* {@link DetachCustomerManagedPolicyReferenceFromPermissionSetRequest.Builder} avoiding the need to create one
* manually via {@link DetachCustomerManagedPolicyReferenceFromPermissionSetRequest#builder()}
*
*
* @param detachCustomerManagedPolicyReferenceFromPermissionSetRequest
* A {@link Consumer} that will call methods on
* {@link DetachCustomerManagedPolicyReferenceFromPermissionSetRequest.Builder} to create a request.
* @return Result of the DetachCustomerManagedPolicyReferenceFromPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DetachCustomerManagedPolicyReferenceFromPermissionSet
* @see AWS API Documentation
*/
default DetachCustomerManagedPolicyReferenceFromPermissionSetResponse detachCustomerManagedPolicyReferenceFromPermissionSet(
Consumer detachCustomerManagedPolicyReferenceFromPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
return detachCustomerManagedPolicyReferenceFromPermissionSet(DetachCustomerManagedPolicyReferenceFromPermissionSetRequest
.builder().applyMutation(detachCustomerManagedPolicyReferenceFromPermissionSetRequest).build());
}
/**
*
* Detaches the attached AWS managed policy ARN from the specified permission set.
*
*
* @param detachManagedPolicyFromPermissionSetRequest
* @return Result of the DetachManagedPolicyFromPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DetachManagedPolicyFromPermissionSet
* @see AWS API Documentation
*/
default DetachManagedPolicyFromPermissionSetResponse detachManagedPolicyFromPermissionSet(
DetachManagedPolicyFromPermissionSetRequest detachManagedPolicyFromPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Detaches the attached AWS managed policy ARN from the specified permission set.
*
*
*
* This is a convenience which creates an instance of the
* {@link DetachManagedPolicyFromPermissionSetRequest.Builder} avoiding the need to create one manually via
* {@link DetachManagedPolicyFromPermissionSetRequest#builder()}
*
*
* @param detachManagedPolicyFromPermissionSetRequest
* A {@link Consumer} that will call methods on {@link DetachManagedPolicyFromPermissionSetRequest.Builder}
* to create a request.
* @return Result of the DetachManagedPolicyFromPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.DetachManagedPolicyFromPermissionSet
* @see AWS API Documentation
*/
default DetachManagedPolicyFromPermissionSetResponse detachManagedPolicyFromPermissionSet(
Consumer detachManagedPolicyFromPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
return detachManagedPolicyFromPermissionSet(DetachManagedPolicyFromPermissionSetRequest.builder()
.applyMutation(detachManagedPolicyFromPermissionSetRequest).build());
}
/**
*
* Obtains the inline policy assigned to the permission set.
*
*
* @param getInlinePolicyForPermissionSetRequest
* @return Result of the GetInlinePolicyForPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.GetInlinePolicyForPermissionSet
* @see AWS API Documentation
*/
default GetInlinePolicyForPermissionSetResponse getInlinePolicyForPermissionSet(
GetInlinePolicyForPermissionSetRequest getInlinePolicyForPermissionSetRequest) throws ResourceNotFoundException,
InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException,
SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Obtains the inline policy assigned to the permission set.
*
*
*
* This is a convenience which creates an instance of the {@link GetInlinePolicyForPermissionSetRequest.Builder}
* avoiding the need to create one manually via {@link GetInlinePolicyForPermissionSetRequest#builder()}
*
*
* @param getInlinePolicyForPermissionSetRequest
* A {@link Consumer} that will call methods on {@link GetInlinePolicyForPermissionSetRequest.Builder} to
* create a request.
* @return Result of the GetInlinePolicyForPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.GetInlinePolicyForPermissionSet
* @see AWS API Documentation
*/
default GetInlinePolicyForPermissionSetResponse getInlinePolicyForPermissionSet(
Consumer getInlinePolicyForPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return getInlinePolicyForPermissionSet(GetInlinePolicyForPermissionSetRequest.builder()
.applyMutation(getInlinePolicyForPermissionSetRequest).build());
}
/**
*
* Obtains the permissions boundary for a specified PermissionSet.
*
*
* @param getPermissionsBoundaryForPermissionSetRequest
* @return Result of the GetPermissionsBoundaryForPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.GetPermissionsBoundaryForPermissionSet
* @see AWS API Documentation
*/
default GetPermissionsBoundaryForPermissionSetResponse getPermissionsBoundaryForPermissionSet(
GetPermissionsBoundaryForPermissionSetRequest getPermissionsBoundaryForPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Obtains the permissions boundary for a specified PermissionSet.
*
*
*
* This is a convenience which creates an instance of the
* {@link GetPermissionsBoundaryForPermissionSetRequest.Builder} avoiding the need to create one manually via
* {@link GetPermissionsBoundaryForPermissionSetRequest#builder()}
*
*
* @param getPermissionsBoundaryForPermissionSetRequest
* A {@link Consumer} that will call methods on {@link GetPermissionsBoundaryForPermissionSetRequest.Builder}
* to create a request.
* @return Result of the GetPermissionsBoundaryForPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.GetPermissionsBoundaryForPermissionSet
* @see AWS API Documentation
*/
default GetPermissionsBoundaryForPermissionSetResponse getPermissionsBoundaryForPermissionSet(
Consumer getPermissionsBoundaryForPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return getPermissionsBoundaryForPermissionSet(GetPermissionsBoundaryForPermissionSetRequest.builder()
.applyMutation(getPermissionsBoundaryForPermissionSetRequest).build());
}
/**
*
* Lists the status of the AWS account assignment creation requests for a specified IAM Identity Center instance.
*
*
* @param listAccountAssignmentCreationStatusRequest
* @return Result of the ListAccountAssignmentCreationStatus operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListAccountAssignmentCreationStatus
* @see AWS API Documentation
*/
default ListAccountAssignmentCreationStatusResponse listAccountAssignmentCreationStatus(
ListAccountAssignmentCreationStatusRequest listAccountAssignmentCreationStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the status of the AWS account assignment creation requests for a specified IAM Identity Center instance.
*
*
*
* This is a convenience which creates an instance of the {@link ListAccountAssignmentCreationStatusRequest.Builder}
* avoiding the need to create one manually via {@link ListAccountAssignmentCreationStatusRequest#builder()}
*
*
* @param listAccountAssignmentCreationStatusRequest
* A {@link Consumer} that will call methods on {@link ListAccountAssignmentCreationStatusRequest.Builder} to
* create a request.
* @return Result of the ListAccountAssignmentCreationStatus operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListAccountAssignmentCreationStatus
* @see AWS API Documentation
*/
default ListAccountAssignmentCreationStatusResponse listAccountAssignmentCreationStatus(
Consumer listAccountAssignmentCreationStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return listAccountAssignmentCreationStatus(ListAccountAssignmentCreationStatusRequest.builder()
.applyMutation(listAccountAssignmentCreationStatusRequest).build());
}
/**
*
* Lists the status of the AWS account assignment creation requests for a specified IAM Identity Center instance.
*
*
*
* This is a variant of
* {@link #listAccountAssignmentCreationStatus(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentCreationStatusRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentCreationStatusIterable responses = client.listAccountAssignmentCreationStatusPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentCreationStatusIterable responses = client
* .listAccountAssignmentCreationStatusPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentCreationStatusResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentCreationStatusIterable responses = client.listAccountAssignmentCreationStatusPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAccountAssignmentCreationStatus(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentCreationStatusRequest)}
* operation.
*
*
* @param listAccountAssignmentCreationStatusRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListAccountAssignmentCreationStatus
* @see AWS API Documentation
*/
default ListAccountAssignmentCreationStatusIterable listAccountAssignmentCreationStatusPaginator(
ListAccountAssignmentCreationStatusRequest listAccountAssignmentCreationStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the status of the AWS account assignment creation requests for a specified IAM Identity Center instance.
*
*
*
* This is a variant of
* {@link #listAccountAssignmentCreationStatus(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentCreationStatusRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentCreationStatusIterable responses = client.listAccountAssignmentCreationStatusPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentCreationStatusIterable responses = client
* .listAccountAssignmentCreationStatusPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentCreationStatusResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentCreationStatusIterable responses = client.listAccountAssignmentCreationStatusPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAccountAssignmentCreationStatus(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentCreationStatusRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListAccountAssignmentCreationStatusRequest.Builder}
* avoiding the need to create one manually via {@link ListAccountAssignmentCreationStatusRequest#builder()}
*
*
* @param listAccountAssignmentCreationStatusRequest
* A {@link Consumer} that will call methods on {@link ListAccountAssignmentCreationStatusRequest.Builder} to
* create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListAccountAssignmentCreationStatus
* @see AWS API Documentation
*/
default ListAccountAssignmentCreationStatusIterable listAccountAssignmentCreationStatusPaginator(
Consumer listAccountAssignmentCreationStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return listAccountAssignmentCreationStatusPaginator(ListAccountAssignmentCreationStatusRequest.builder()
.applyMutation(listAccountAssignmentCreationStatusRequest).build());
}
/**
*
* Lists the status of the AWS account assignment deletion requests for a specified IAM Identity Center instance.
*
*
* @param listAccountAssignmentDeletionStatusRequest
* @return Result of the ListAccountAssignmentDeletionStatus operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListAccountAssignmentDeletionStatus
* @see AWS API Documentation
*/
default ListAccountAssignmentDeletionStatusResponse listAccountAssignmentDeletionStatus(
ListAccountAssignmentDeletionStatusRequest listAccountAssignmentDeletionStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the status of the AWS account assignment deletion requests for a specified IAM Identity Center instance.
*
*
*
* This is a convenience which creates an instance of the {@link ListAccountAssignmentDeletionStatusRequest.Builder}
* avoiding the need to create one manually via {@link ListAccountAssignmentDeletionStatusRequest#builder()}
*
*
* @param listAccountAssignmentDeletionStatusRequest
* A {@link Consumer} that will call methods on {@link ListAccountAssignmentDeletionStatusRequest.Builder} to
* create a request.
* @return Result of the ListAccountAssignmentDeletionStatus operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListAccountAssignmentDeletionStatus
* @see AWS API Documentation
*/
default ListAccountAssignmentDeletionStatusResponse listAccountAssignmentDeletionStatus(
Consumer listAccountAssignmentDeletionStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return listAccountAssignmentDeletionStatus(ListAccountAssignmentDeletionStatusRequest.builder()
.applyMutation(listAccountAssignmentDeletionStatusRequest).build());
}
/**
*
* Lists the status of the AWS account assignment deletion requests for a specified IAM Identity Center instance.
*
*
*
* This is a variant of
* {@link #listAccountAssignmentDeletionStatus(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentDeletionStatusRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentDeletionStatusIterable responses = client.listAccountAssignmentDeletionStatusPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentDeletionStatusIterable responses = client
* .listAccountAssignmentDeletionStatusPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentDeletionStatusResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentDeletionStatusIterable responses = client.listAccountAssignmentDeletionStatusPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAccountAssignmentDeletionStatus(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentDeletionStatusRequest)}
* operation.
*
*
* @param listAccountAssignmentDeletionStatusRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListAccountAssignmentDeletionStatus
* @see AWS API Documentation
*/
default ListAccountAssignmentDeletionStatusIterable listAccountAssignmentDeletionStatusPaginator(
ListAccountAssignmentDeletionStatusRequest listAccountAssignmentDeletionStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the status of the AWS account assignment deletion requests for a specified IAM Identity Center instance.
*
*
*
* This is a variant of
* {@link #listAccountAssignmentDeletionStatus(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentDeletionStatusRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentDeletionStatusIterable responses = client.listAccountAssignmentDeletionStatusPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentDeletionStatusIterable responses = client
* .listAccountAssignmentDeletionStatusPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentDeletionStatusResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentDeletionStatusIterable responses = client.listAccountAssignmentDeletionStatusPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAccountAssignmentDeletionStatus(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentDeletionStatusRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListAccountAssignmentDeletionStatusRequest.Builder}
* avoiding the need to create one manually via {@link ListAccountAssignmentDeletionStatusRequest#builder()}
*
*
* @param listAccountAssignmentDeletionStatusRequest
* A {@link Consumer} that will call methods on {@link ListAccountAssignmentDeletionStatusRequest.Builder} to
* create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListAccountAssignmentDeletionStatus
* @see AWS API Documentation
*/
default ListAccountAssignmentDeletionStatusIterable listAccountAssignmentDeletionStatusPaginator(
Consumer listAccountAssignmentDeletionStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return listAccountAssignmentDeletionStatusPaginator(ListAccountAssignmentDeletionStatusRequest.builder()
.applyMutation(listAccountAssignmentDeletionStatusRequest).build());
}
/**
*
* Lists the assignee of the specified AWS account with the specified permission set.
*
*
* @param listAccountAssignmentsRequest
* @return Result of the ListAccountAssignments operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListAccountAssignments
* @see AWS API Documentation
*/
default ListAccountAssignmentsResponse listAccountAssignments(ListAccountAssignmentsRequest listAccountAssignmentsRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the assignee of the specified AWS account with the specified permission set.
*
*
*
* This is a convenience which creates an instance of the {@link ListAccountAssignmentsRequest.Builder} avoiding the
* need to create one manually via {@link ListAccountAssignmentsRequest#builder()}
*
*
* @param listAccountAssignmentsRequest
* A {@link Consumer} that will call methods on {@link ListAccountAssignmentsRequest.Builder} to create a
* request.
* @return Result of the ListAccountAssignments operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListAccountAssignments
* @see AWS API Documentation
*/
default ListAccountAssignmentsResponse listAccountAssignments(
Consumer listAccountAssignmentsRequest) throws ResourceNotFoundException,
InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException,
SdkClientException, SsoAdminException {
return listAccountAssignments(ListAccountAssignmentsRequest.builder().applyMutation(listAccountAssignmentsRequest)
.build());
}
/**
*
* Lists the assignee of the specified AWS account with the specified permission set.
*
*
*
* This is a variant of
* {@link #listAccountAssignments(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentsIterable responses = client.listAccountAssignmentsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentsIterable responses = client
* .listAccountAssignmentsPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentsIterable responses = client.listAccountAssignmentsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAccountAssignments(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentsRequest)}
* operation.
*
*
* @param listAccountAssignmentsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListAccountAssignments
* @see AWS API Documentation
*/
default ListAccountAssignmentsIterable listAccountAssignmentsPaginator(
ListAccountAssignmentsRequest listAccountAssignmentsRequest) throws ResourceNotFoundException,
InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException,
SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the assignee of the specified AWS account with the specified permission set.
*
*
*
* This is a variant of
* {@link #listAccountAssignments(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentsIterable responses = client.listAccountAssignmentsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentsIterable responses = client
* .listAccountAssignmentsPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountAssignmentsIterable responses = client.listAccountAssignmentsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAccountAssignments(software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListAccountAssignmentsRequest.Builder} avoiding the
* need to create one manually via {@link ListAccountAssignmentsRequest#builder()}
*
*
* @param listAccountAssignmentsRequest
* A {@link Consumer} that will call methods on {@link ListAccountAssignmentsRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListAccountAssignments
* @see AWS API Documentation
*/
default ListAccountAssignmentsIterable listAccountAssignmentsPaginator(
Consumer listAccountAssignmentsRequest) throws ResourceNotFoundException,
InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException,
SdkClientException, SsoAdminException {
return listAccountAssignmentsPaginator(ListAccountAssignmentsRequest.builder()
.applyMutation(listAccountAssignmentsRequest).build());
}
/**
*
* Lists all the AWS accounts where the specified permission set is provisioned.
*
*
* @param listAccountsForProvisionedPermissionSetRequest
* @return Result of the ListAccountsForProvisionedPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListAccountsForProvisionedPermissionSet
* @see AWS API Documentation
*/
default ListAccountsForProvisionedPermissionSetResponse listAccountsForProvisionedPermissionSet(
ListAccountsForProvisionedPermissionSetRequest listAccountsForProvisionedPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all the AWS accounts where the specified permission set is provisioned.
*
*
*
* This is a convenience which creates an instance of the
* {@link ListAccountsForProvisionedPermissionSetRequest.Builder} avoiding the need to create one manually via
* {@link ListAccountsForProvisionedPermissionSetRequest#builder()}
*
*
* @param listAccountsForProvisionedPermissionSetRequest
* A {@link Consumer} that will call methods on
* {@link ListAccountsForProvisionedPermissionSetRequest.Builder} to create a request.
* @return Result of the ListAccountsForProvisionedPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListAccountsForProvisionedPermissionSet
* @see AWS API Documentation
*/
default ListAccountsForProvisionedPermissionSetResponse listAccountsForProvisionedPermissionSet(
Consumer listAccountsForProvisionedPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return listAccountsForProvisionedPermissionSet(ListAccountsForProvisionedPermissionSetRequest.builder()
.applyMutation(listAccountsForProvisionedPermissionSetRequest).build());
}
/**
*
* Lists all the AWS accounts where the specified permission set is provisioned.
*
*
*
* This is a variant of
* {@link #listAccountsForProvisionedPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListAccountsForProvisionedPermissionSetRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountsForProvisionedPermissionSetIterable responses = client.listAccountsForProvisionedPermissionSetPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountsForProvisionedPermissionSetIterable responses = client
* .listAccountsForProvisionedPermissionSetPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListAccountsForProvisionedPermissionSetResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountsForProvisionedPermissionSetIterable responses = client.listAccountsForProvisionedPermissionSetPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAccountsForProvisionedPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListAccountsForProvisionedPermissionSetRequest)}
* operation.
*
*
* @param listAccountsForProvisionedPermissionSetRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListAccountsForProvisionedPermissionSet
* @see AWS API Documentation
*/
default ListAccountsForProvisionedPermissionSetIterable listAccountsForProvisionedPermissionSetPaginator(
ListAccountsForProvisionedPermissionSetRequest listAccountsForProvisionedPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all the AWS accounts where the specified permission set is provisioned.
*
*
*
* This is a variant of
* {@link #listAccountsForProvisionedPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListAccountsForProvisionedPermissionSetRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountsForProvisionedPermissionSetIterable responses = client.listAccountsForProvisionedPermissionSetPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountsForProvisionedPermissionSetIterable responses = client
* .listAccountsForProvisionedPermissionSetPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListAccountsForProvisionedPermissionSetResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListAccountsForProvisionedPermissionSetIterable responses = client.listAccountsForProvisionedPermissionSetPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAccountsForProvisionedPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListAccountsForProvisionedPermissionSetRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the
* {@link ListAccountsForProvisionedPermissionSetRequest.Builder} avoiding the need to create one manually via
* {@link ListAccountsForProvisionedPermissionSetRequest#builder()}
*
*
* @param listAccountsForProvisionedPermissionSetRequest
* A {@link Consumer} that will call methods on
* {@link ListAccountsForProvisionedPermissionSetRequest.Builder} to create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListAccountsForProvisionedPermissionSet
* @see AWS API Documentation
*/
default ListAccountsForProvisionedPermissionSetIterable listAccountsForProvisionedPermissionSetPaginator(
Consumer listAccountsForProvisionedPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return listAccountsForProvisionedPermissionSetPaginator(ListAccountsForProvisionedPermissionSetRequest.builder()
.applyMutation(listAccountsForProvisionedPermissionSetRequest).build());
}
/**
*
* Lists all customer managed policies attached to a specified PermissionSet.
*
*
* @param listCustomerManagedPolicyReferencesInPermissionSetRequest
* @return Result of the ListCustomerManagedPolicyReferencesInPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListCustomerManagedPolicyReferencesInPermissionSet
* @see AWS API Documentation
*/
default ListCustomerManagedPolicyReferencesInPermissionSetResponse listCustomerManagedPolicyReferencesInPermissionSet(
ListCustomerManagedPolicyReferencesInPermissionSetRequest listCustomerManagedPolicyReferencesInPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all customer managed policies attached to a specified PermissionSet.
*
*
*
* This is a convenience which creates an instance of the
* {@link ListCustomerManagedPolicyReferencesInPermissionSetRequest.Builder} avoiding the need to create one
* manually via {@link ListCustomerManagedPolicyReferencesInPermissionSetRequest#builder()}
*
*
* @param listCustomerManagedPolicyReferencesInPermissionSetRequest
* A {@link Consumer} that will call methods on
* {@link ListCustomerManagedPolicyReferencesInPermissionSetRequest.Builder} to create a request.
* @return Result of the ListCustomerManagedPolicyReferencesInPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListCustomerManagedPolicyReferencesInPermissionSet
* @see AWS API Documentation
*/
default ListCustomerManagedPolicyReferencesInPermissionSetResponse listCustomerManagedPolicyReferencesInPermissionSet(
Consumer listCustomerManagedPolicyReferencesInPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return listCustomerManagedPolicyReferencesInPermissionSet(ListCustomerManagedPolicyReferencesInPermissionSetRequest
.builder().applyMutation(listCustomerManagedPolicyReferencesInPermissionSetRequest).build());
}
/**
*
* Lists all customer managed policies attached to a specified PermissionSet.
*
*
*
* This is a variant of
* {@link #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 Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListCustomerManagedPolicyReferencesInPermissionSetIterable responses = client.listCustomerManagedPolicyReferencesInPermissionSetPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #listCustomerManagedPolicyReferencesInPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListCustomerManagedPolicyReferencesInPermissionSetRequest)}
* operation.
*
*
* @param listCustomerManagedPolicyReferencesInPermissionSetRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListCustomerManagedPolicyReferencesInPermissionSet
* @see AWS API Documentation
*/
default ListCustomerManagedPolicyReferencesInPermissionSetIterable listCustomerManagedPolicyReferencesInPermissionSetPaginator(
ListCustomerManagedPolicyReferencesInPermissionSetRequest listCustomerManagedPolicyReferencesInPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all customer managed policies attached to a specified PermissionSet.
*
*
*
* This is a variant of
* {@link #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 Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListCustomerManagedPolicyReferencesInPermissionSetIterable responses = client.listCustomerManagedPolicyReferencesInPermissionSetPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #listCustomerManagedPolicyReferencesInPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListCustomerManagedPolicyReferencesInPermissionSetRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the
* {@link ListCustomerManagedPolicyReferencesInPermissionSetRequest.Builder} avoiding the need to create one
* manually via {@link ListCustomerManagedPolicyReferencesInPermissionSetRequest#builder()}
*
*
* @param listCustomerManagedPolicyReferencesInPermissionSetRequest
* A {@link Consumer} that will call methods on
* {@link ListCustomerManagedPolicyReferencesInPermissionSetRequest.Builder} to create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListCustomerManagedPolicyReferencesInPermissionSet
* @see AWS API Documentation
*/
default ListCustomerManagedPolicyReferencesInPermissionSetIterable listCustomerManagedPolicyReferencesInPermissionSetPaginator(
Consumer listCustomerManagedPolicyReferencesInPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return listCustomerManagedPolicyReferencesInPermissionSetPaginator(ListCustomerManagedPolicyReferencesInPermissionSetRequest
.builder().applyMutation(listCustomerManagedPolicyReferencesInPermissionSetRequest).build());
}
/**
*
* Lists the IAM Identity Center instances that the caller has access to.
*
*
* @param listInstancesRequest
* @return Result of the ListInstances operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListInstances
* @see AWS API
* Documentation
*/
default ListInstancesResponse listInstances(ListInstancesRequest listInstancesRequest) throws InternalServerException,
ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException,
SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the IAM Identity Center instances that the caller has access to.
*
*
*
* This is a convenience which creates an instance of the {@link ListInstancesRequest.Builder} avoiding the need to
* create one manually via {@link ListInstancesRequest#builder()}
*
*
* @param listInstancesRequest
* A {@link Consumer} that will call methods on {@link ListInstancesRequest.Builder} to create a request.
* @return Result of the ListInstances operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListInstances
* @see AWS API
* Documentation
*/
default ListInstancesResponse listInstances(Consumer listInstancesRequest)
throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException,
SdkClientException, SsoAdminException {
return listInstances(ListInstancesRequest.builder().applyMutation(listInstancesRequest).build());
}
/**
*
* Lists the IAM Identity Center instances that the caller has access to.
*
*
*
* This is a variant of {@link #listInstances(software.amazon.awssdk.services.ssoadmin.model.ListInstancesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListInstancesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listInstances(software.amazon.awssdk.services.ssoadmin.model.ListInstancesRequest)} operation.
*
*
* @param listInstancesRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListInstances
* @see AWS API
* Documentation
*/
default ListInstancesIterable listInstancesPaginator(ListInstancesRequest listInstancesRequest)
throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException,
SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the IAM Identity Center instances that the caller has access to.
*
*
*
* This is a variant of {@link #listInstances(software.amazon.awssdk.services.ssoadmin.model.ListInstancesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListInstancesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listInstances(software.amazon.awssdk.services.ssoadmin.model.ListInstancesRequest)} operation.
*
*
* This is a convenience which creates an instance of the {@link ListInstancesRequest.Builder} avoiding the need to
* create one manually via {@link ListInstancesRequest#builder()}
*
*
* @param listInstancesRequest
* A {@link Consumer} that will call methods on {@link ListInstancesRequest.Builder} to create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListInstances
* @see AWS API
* Documentation
*/
default ListInstancesIterable listInstancesPaginator(Consumer listInstancesRequest)
throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException,
SdkClientException, SsoAdminException {
return listInstancesPaginator(ListInstancesRequest.builder().applyMutation(listInstancesRequest).build());
}
/**
*
* Lists the AWS managed policy that is attached to a specified permission set.
*
*
* @param listManagedPoliciesInPermissionSetRequest
* @return Result of the ListManagedPoliciesInPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListManagedPoliciesInPermissionSet
* @see AWS API Documentation
*/
default ListManagedPoliciesInPermissionSetResponse listManagedPoliciesInPermissionSet(
ListManagedPoliciesInPermissionSetRequest listManagedPoliciesInPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the AWS managed policy that is attached to a specified permission set.
*
*
*
* This is a convenience which creates an instance of the {@link ListManagedPoliciesInPermissionSetRequest.Builder}
* avoiding the need to create one manually via {@link ListManagedPoliciesInPermissionSetRequest#builder()}
*
*
* @param listManagedPoliciesInPermissionSetRequest
* A {@link Consumer} that will call methods on {@link ListManagedPoliciesInPermissionSetRequest.Builder} to
* create a request.
* @return Result of the ListManagedPoliciesInPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListManagedPoliciesInPermissionSet
* @see AWS API Documentation
*/
default ListManagedPoliciesInPermissionSetResponse listManagedPoliciesInPermissionSet(
Consumer listManagedPoliciesInPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return listManagedPoliciesInPermissionSet(ListManagedPoliciesInPermissionSetRequest.builder()
.applyMutation(listManagedPoliciesInPermissionSetRequest).build());
}
/**
*
* Lists the AWS managed policy that is attached to a specified permission set.
*
*
*
* This is a variant of
* {@link #listManagedPoliciesInPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListManagedPoliciesInPermissionSetRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListManagedPoliciesInPermissionSetIterable responses = client.listManagedPoliciesInPermissionSetPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListManagedPoliciesInPermissionSetIterable responses = client
* .listManagedPoliciesInPermissionSetPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListManagedPoliciesInPermissionSetResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListManagedPoliciesInPermissionSetIterable responses = client.listManagedPoliciesInPermissionSetPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listManagedPoliciesInPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListManagedPoliciesInPermissionSetRequest)}
* operation.
*
*
* @param listManagedPoliciesInPermissionSetRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListManagedPoliciesInPermissionSet
* @see AWS API Documentation
*/
default ListManagedPoliciesInPermissionSetIterable listManagedPoliciesInPermissionSetPaginator(
ListManagedPoliciesInPermissionSetRequest listManagedPoliciesInPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the AWS managed policy that is attached to a specified permission set.
*
*
*
* This is a variant of
* {@link #listManagedPoliciesInPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListManagedPoliciesInPermissionSetRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListManagedPoliciesInPermissionSetIterable responses = client.listManagedPoliciesInPermissionSetPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListManagedPoliciesInPermissionSetIterable responses = client
* .listManagedPoliciesInPermissionSetPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListManagedPoliciesInPermissionSetResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListManagedPoliciesInPermissionSetIterable responses = client.listManagedPoliciesInPermissionSetPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listManagedPoliciesInPermissionSet(software.amazon.awssdk.services.ssoadmin.model.ListManagedPoliciesInPermissionSetRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListManagedPoliciesInPermissionSetRequest.Builder}
* avoiding the need to create one manually via {@link ListManagedPoliciesInPermissionSetRequest#builder()}
*
*
* @param listManagedPoliciesInPermissionSetRequest
* A {@link Consumer} that will call methods on {@link ListManagedPoliciesInPermissionSetRequest.Builder} to
* create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListManagedPoliciesInPermissionSet
* @see AWS API Documentation
*/
default ListManagedPoliciesInPermissionSetIterable listManagedPoliciesInPermissionSetPaginator(
Consumer listManagedPoliciesInPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return listManagedPoliciesInPermissionSetPaginator(ListManagedPoliciesInPermissionSetRequest.builder()
.applyMutation(listManagedPoliciesInPermissionSetRequest).build());
}
/**
*
* Lists the status of the permission set provisioning requests for a specified IAM Identity Center instance.
*
*
* @param listPermissionSetProvisioningStatusRequest
* @return Result of the ListPermissionSetProvisioningStatus operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListPermissionSetProvisioningStatus
* @see AWS API Documentation
*/
default ListPermissionSetProvisioningStatusResponse listPermissionSetProvisioningStatus(
ListPermissionSetProvisioningStatusRequest listPermissionSetProvisioningStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link ListPermissionSetProvisioningStatusRequest.Builder}
* avoiding the need to create one manually via {@link ListPermissionSetProvisioningStatusRequest#builder()}
*
*
* @param listPermissionSetProvisioningStatusRequest
* A {@link Consumer} that will call methods on {@link ListPermissionSetProvisioningStatusRequest.Builder} to
* create a request.
* @return Result of the ListPermissionSetProvisioningStatus operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListPermissionSetProvisioningStatus
* @see AWS API Documentation
*/
default ListPermissionSetProvisioningStatusResponse listPermissionSetProvisioningStatus(
Consumer listPermissionSetProvisioningStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return listPermissionSetProvisioningStatus(ListPermissionSetProvisioningStatusRequest.builder()
.applyMutation(listPermissionSetProvisioningStatusRequest).build());
}
/**
*
* Lists the status of the permission set provisioning requests for a specified IAM Identity Center instance.
*
*
*
* This is a variant of
* {@link #listPermissionSetProvisioningStatus(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetProvisioningStatusRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetProvisioningStatusIterable responses = client.listPermissionSetProvisioningStatusPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetProvisioningStatusIterable responses = client
* .listPermissionSetProvisioningStatusPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetProvisioningStatusResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetProvisioningStatusIterable responses = client.listPermissionSetProvisioningStatusPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listPermissionSetProvisioningStatus(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetProvisioningStatusRequest)}
* operation.
*
*
* @param listPermissionSetProvisioningStatusRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListPermissionSetProvisioningStatus
* @see AWS API Documentation
*/
default ListPermissionSetProvisioningStatusIterable listPermissionSetProvisioningStatusPaginator(
ListPermissionSetProvisioningStatusRequest listPermissionSetProvisioningStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the status of the permission set provisioning requests for a specified IAM Identity Center instance.
*
*
*
* This is a variant of
* {@link #listPermissionSetProvisioningStatus(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetProvisioningStatusRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetProvisioningStatusIterable responses = client.listPermissionSetProvisioningStatusPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetProvisioningStatusIterable responses = client
* .listPermissionSetProvisioningStatusPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetProvisioningStatusResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetProvisioningStatusIterable responses = client.listPermissionSetProvisioningStatusPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listPermissionSetProvisioningStatus(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetProvisioningStatusRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListPermissionSetProvisioningStatusRequest.Builder}
* avoiding the need to create one manually via {@link ListPermissionSetProvisioningStatusRequest#builder()}
*
*
* @param listPermissionSetProvisioningStatusRequest
* A {@link Consumer} that will call methods on {@link ListPermissionSetProvisioningStatusRequest.Builder} to
* create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListPermissionSetProvisioningStatus
* @see AWS API Documentation
*/
default ListPermissionSetProvisioningStatusIterable listPermissionSetProvisioningStatusPaginator(
Consumer listPermissionSetProvisioningStatusRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return listPermissionSetProvisioningStatusPaginator(ListPermissionSetProvisioningStatusRequest.builder()
.applyMutation(listPermissionSetProvisioningStatusRequest).build());
}
/**
*
* Lists the PermissionSets in an IAM Identity Center instance.
*
*
* @param listPermissionSetsRequest
* @return Result of the ListPermissionSets operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListPermissionSets
* @see AWS
* API Documentation
*/
default ListPermissionSetsResponse listPermissionSets(ListPermissionSetsRequest listPermissionSetsRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the PermissionSets in an IAM Identity Center instance.
*
*
*
* This is a convenience which creates an instance of the {@link ListPermissionSetsRequest.Builder} avoiding the
* need to create one manually via {@link ListPermissionSetsRequest#builder()}
*
*
* @param listPermissionSetsRequest
* A {@link Consumer} that will call methods on {@link ListPermissionSetsRequest.Builder} to create a
* request.
* @return Result of the ListPermissionSets operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListPermissionSets
* @see AWS
* API Documentation
*/
default ListPermissionSetsResponse listPermissionSets(Consumer listPermissionSetsRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return listPermissionSets(ListPermissionSetsRequest.builder().applyMutation(listPermissionSetsRequest).build());
}
/**
*
* Lists the PermissionSets in an IAM Identity Center instance.
*
*
*
* This is a variant of
* {@link #listPermissionSets(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsRequest)} operation.
* The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
* handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsIterable responses = client.listPermissionSetsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsIterable responses = client
* .listPermissionSetsPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsIterable responses = client.listPermissionSetsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listPermissionSets(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsRequest)}
* operation.
*
*
* @param listPermissionSetsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListPermissionSets
* @see AWS
* API Documentation
*/
default ListPermissionSetsIterable listPermissionSetsPaginator(ListPermissionSetsRequest listPermissionSetsRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the PermissionSets in an IAM Identity Center instance.
*
*
*
* This is a variant of
* {@link #listPermissionSets(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsRequest)} operation.
* The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
* handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsIterable responses = client.listPermissionSetsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsIterable responses = client
* .listPermissionSetsPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsIterable responses = client.listPermissionSetsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listPermissionSets(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListPermissionSetsRequest.Builder} avoiding the
* need to create one manually via {@link ListPermissionSetsRequest#builder()}
*
*
* @param listPermissionSetsRequest
* A {@link Consumer} that will call methods on {@link ListPermissionSetsRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListPermissionSets
* @see AWS
* API Documentation
*/
default ListPermissionSetsIterable listPermissionSetsPaginator(
Consumer listPermissionSetsRequest) throws ResourceNotFoundException,
InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException,
SdkClientException, SsoAdminException {
return listPermissionSetsPaginator(ListPermissionSetsRequest.builder().applyMutation(listPermissionSetsRequest).build());
}
/**
*
* Lists all the permission sets that are provisioned to a specified AWS account.
*
*
* @param listPermissionSetsProvisionedToAccountRequest
* @return Result of the ListPermissionSetsProvisionedToAccount operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListPermissionSetsProvisionedToAccount
* @see AWS API Documentation
*/
default ListPermissionSetsProvisionedToAccountResponse listPermissionSetsProvisionedToAccount(
ListPermissionSetsProvisionedToAccountRequest listPermissionSetsProvisionedToAccountRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all the permission sets that are provisioned to a specified AWS account.
*
*
*
* This is a convenience which creates an instance of the
* {@link ListPermissionSetsProvisionedToAccountRequest.Builder} avoiding the need to create one manually via
* {@link ListPermissionSetsProvisionedToAccountRequest#builder()}
*
*
* @param listPermissionSetsProvisionedToAccountRequest
* A {@link Consumer} that will call methods on {@link ListPermissionSetsProvisionedToAccountRequest.Builder}
* to create a request.
* @return Result of the ListPermissionSetsProvisionedToAccount operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListPermissionSetsProvisionedToAccount
* @see AWS API Documentation
*/
default ListPermissionSetsProvisionedToAccountResponse listPermissionSetsProvisionedToAccount(
Consumer listPermissionSetsProvisionedToAccountRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return listPermissionSetsProvisionedToAccount(ListPermissionSetsProvisionedToAccountRequest.builder()
.applyMutation(listPermissionSetsProvisionedToAccountRequest).build());
}
/**
*
* Lists all the permission sets that are provisioned to a specified AWS account.
*
*
*
* This is a variant of
* {@link #listPermissionSetsProvisionedToAccount(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsProvisionedToAccountRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsProvisionedToAccountIterable responses = client.listPermissionSetsProvisionedToAccountPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsProvisionedToAccountIterable responses = client
* .listPermissionSetsProvisionedToAccountPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsProvisionedToAccountResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsProvisionedToAccountIterable responses = client.listPermissionSetsProvisionedToAccountPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listPermissionSetsProvisionedToAccount(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsProvisionedToAccountRequest)}
* operation.
*
*
* @param listPermissionSetsProvisionedToAccountRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListPermissionSetsProvisionedToAccount
* @see AWS API Documentation
*/
default ListPermissionSetsProvisionedToAccountIterable listPermissionSetsProvisionedToAccountPaginator(
ListPermissionSetsProvisionedToAccountRequest listPermissionSetsProvisionedToAccountRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all the permission sets that are provisioned to a specified AWS account.
*
*
*
* This is a variant of
* {@link #listPermissionSetsProvisionedToAccount(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsProvisionedToAccountRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsProvisionedToAccountIterable responses = client.listPermissionSetsProvisionedToAccountPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsProvisionedToAccountIterable responses = client
* .listPermissionSetsProvisionedToAccountPaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsProvisionedToAccountResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListPermissionSetsProvisionedToAccountIterable responses = client.listPermissionSetsProvisionedToAccountPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listPermissionSetsProvisionedToAccount(software.amazon.awssdk.services.ssoadmin.model.ListPermissionSetsProvisionedToAccountRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the
* {@link ListPermissionSetsProvisionedToAccountRequest.Builder} avoiding the need to create one manually via
* {@link ListPermissionSetsProvisionedToAccountRequest#builder()}
*
*
* @param listPermissionSetsProvisionedToAccountRequest
* A {@link Consumer} that will call methods on {@link ListPermissionSetsProvisionedToAccountRequest.Builder}
* to create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListPermissionSetsProvisionedToAccount
* @see AWS API Documentation
*/
default ListPermissionSetsProvisionedToAccountIterable listPermissionSetsProvisionedToAccountPaginator(
Consumer listPermissionSetsProvisionedToAccountRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
return listPermissionSetsProvisionedToAccountPaginator(ListPermissionSetsProvisionedToAccountRequest.builder()
.applyMutation(listPermissionSetsProvisionedToAccountRequest).build());
}
/**
*
* Lists the tags that are attached to a specified resource.
*
*
* @param listTagsForResourceRequest
* @return Result of the ListTagsForResource operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the tags that are attached to a specified resource.
*
*
*
* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the
* need to create one manually via {@link ListTagsForResourceRequest#builder()}
*
*
* @param listTagsForResourceRequest
* A {@link Consumer} that will call methods on {@link ListTagsForResourceRequest.Builder} to create a
* request.
* @return Result of the ListTagsForResource operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default ListTagsForResourceResponse listTagsForResource(
Consumer listTagsForResourceRequest) throws ResourceNotFoundException,
InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException,
SdkClientException, SsoAdminException {
return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build());
}
/**
*
* Lists the tags that are attached to a specified resource.
*
*
*
* This is a variant of
* {@link #listTagsForResource(software.amazon.awssdk.services.ssoadmin.model.ListTagsForResourceRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListTagsForResourceIterable responses = client
* .listTagsForResourcePaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListTagsForResourceResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of null won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listTagsForResource(software.amazon.awssdk.services.ssoadmin.model.ListTagsForResourceRequest)}
* operation.
*
*
* @param listTagsForResourceRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default ListTagsForResourceIterable listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the tags that are attached to a specified resource.
*
*
*
* This is a variant of
* {@link #listTagsForResource(software.amazon.awssdk.services.ssoadmin.model.ListTagsForResourceRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.ssoadmin.paginators.ListTagsForResourceIterable responses = client
* .listTagsForResourcePaginator(request);
* for (software.amazon.awssdk.services.ssoadmin.model.ListTagsForResourceResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.ssoadmin.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of null won't limit the number of results you get with the paginator. It
* only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listTagsForResource(software.amazon.awssdk.services.ssoadmin.model.ListTagsForResourceRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the
* need to create one manually via {@link ListTagsForResourceRequest#builder()}
*
*
* @param listTagsForResourceRequest
* A {@link Consumer} that will call methods on {@link ListTagsForResourceRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default ListTagsForResourceIterable listTagsForResourcePaginator(
Consumer listTagsForResourceRequest) throws ResourceNotFoundException,
InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException,
SdkClientException, SsoAdminException {
return listTagsForResourcePaginator(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest)
.build());
}
/**
*
* The process by which a specified permission set is provisioned to the specified target.
*
*
* @param provisionPermissionSetRequest
* @return Result of the ProvisionPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ProvisionPermissionSet
* @see AWS API Documentation
*/
default ProvisionPermissionSetResponse provisionPermissionSet(ProvisionPermissionSetRequest provisionPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* The process by which a specified permission set is provisioned to the specified target.
*
*
*
* This is a convenience which creates an instance of the {@link ProvisionPermissionSetRequest.Builder} avoiding the
* need to create one manually via {@link ProvisionPermissionSetRequest#builder()}
*
*
* @param provisionPermissionSetRequest
* A {@link Consumer} that will call methods on {@link ProvisionPermissionSetRequest.Builder} to create a
* request.
* @return Result of the ProvisionPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.ProvisionPermissionSet
* @see AWS API Documentation
*/
default ProvisionPermissionSetResponse provisionPermissionSet(
Consumer provisionPermissionSetRequest) throws ResourceNotFoundException,
InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException,
AwsServiceException, SdkClientException, SsoAdminException {
return provisionPermissionSet(ProvisionPermissionSetRequest.builder().applyMutation(provisionPermissionSetRequest)
.build());
}
/**
*
* 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.
*
*
*
* @param putInlinePolicyToPermissionSetRequest
* @return Result of the PutInlinePolicyToPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ServiceQuotaExceededException
* Indicates that the principal has crossed the permitted number of resources that can be created.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.PutInlinePolicyToPermissionSet
* @see AWS API Documentation
*/
default PutInlinePolicyToPermissionSetResponse putInlinePolicyToPermissionSet(
PutInlinePolicyToPermissionSetRequest putInlinePolicyToPermissionSetRequest) throws ResourceNotFoundException,
InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link PutInlinePolicyToPermissionSetRequest.Builder}
* avoiding the need to create one manually via {@link PutInlinePolicyToPermissionSetRequest#builder()}
*
*
* @param putInlinePolicyToPermissionSetRequest
* A {@link Consumer} that will call methods on {@link PutInlinePolicyToPermissionSetRequest.Builder} to
* create a request.
* @return Result of the PutInlinePolicyToPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ServiceQuotaExceededException
* Indicates that the principal has crossed the permitted number of resources that can be created.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.PutInlinePolicyToPermissionSet
* @see AWS API Documentation
*/
default PutInlinePolicyToPermissionSetResponse putInlinePolicyToPermissionSet(
Consumer putInlinePolicyToPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException,
ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException,
SsoAdminException {
return putInlinePolicyToPermissionSet(PutInlinePolicyToPermissionSetRequest.builder()
.applyMutation(putInlinePolicyToPermissionSetRequest).build());
}
/**
*
* Attaches an AWS managed or customer managed policy to the specified PermissionSet as a permissions
* boundary.
*
*
* @param putPermissionsBoundaryToPermissionSetRequest
* @return Result of the PutPermissionsBoundaryToPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.PutPermissionsBoundaryToPermissionSet
* @see AWS API Documentation
*/
default PutPermissionsBoundaryToPermissionSetResponse putPermissionsBoundaryToPermissionSet(
PutPermissionsBoundaryToPermissionSetRequest putPermissionsBoundaryToPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Attaches an AWS managed or customer managed policy to the specified PermissionSet as a permissions
* boundary.
*
*
*
* This is a convenience which creates an instance of the
* {@link PutPermissionsBoundaryToPermissionSetRequest.Builder} avoiding the need to create one manually via
* {@link PutPermissionsBoundaryToPermissionSetRequest#builder()}
*
*
* @param putPermissionsBoundaryToPermissionSetRequest
* A {@link Consumer} that will call methods on {@link PutPermissionsBoundaryToPermissionSetRequest.Builder}
* to create a request.
* @return Result of the PutPermissionsBoundaryToPermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.PutPermissionsBoundaryToPermissionSet
* @see AWS API Documentation
*/
default PutPermissionsBoundaryToPermissionSetResponse putPermissionsBoundaryToPermissionSet(
Consumer putPermissionsBoundaryToPermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
return putPermissionsBoundaryToPermissionSet(PutPermissionsBoundaryToPermissionSetRequest.builder()
.applyMutation(putPermissionsBoundaryToPermissionSetRequest).build());
}
/**
*
* Associates a set of tags with a specified resource.
*
*
* @param tagResourceRequest
* @return Result of the TagResource operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ServiceQuotaExceededException
* Indicates that the principal has crossed the permitted number of resources that can be created.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.TagResource
* @see AWS API
* Documentation
*/
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException,
InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Associates a set of tags with a specified resource.
*
*
*
* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to
* create one manually via {@link TagResourceRequest#builder()}
*
*
* @param tagResourceRequest
* A {@link Consumer} that will call methods on {@link TagResourceRequest.Builder} to create a request.
* @return Result of the TagResource operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ServiceQuotaExceededException
* Indicates that the principal has crossed the permitted number of resources that can be created.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.TagResource
* @see AWS API
* Documentation
*/
default TagResourceResponse tagResource(Consumer tagResourceRequest)
throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException,
ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException,
SsoAdminException {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
*
* Disassociates a set of tags from a specified resource.
*
*
* @param untagResourceRequest
* @return Result of the UntagResource operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.UntagResource
* @see AWS API
* Documentation
*/
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException,
InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException,
AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Disassociates a set of tags from a specified resource.
*
*
*
* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to
* create one manually via {@link UntagResourceRequest#builder()}
*
*
* @param untagResourceRequest
* A {@link Consumer} that will call methods on {@link UntagResourceRequest.Builder} to create a request.
* @return Result of the UntagResource operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.UntagResource
* @see AWS API
* Documentation
*/
default UntagResourceResponse untagResource(Consumer untagResourceRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
*
* 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.
*
*
* @param updateInstanceAccessControlAttributeConfigurationRequest
* @return Result of the UpdateInstanceAccessControlAttributeConfiguration operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.UpdateInstanceAccessControlAttributeConfiguration
* @see AWS API Documentation
*/
default UpdateInstanceAccessControlAttributeConfigurationResponse updateInstanceAccessControlAttributeConfiguration(
UpdateInstanceAccessControlAttributeConfigurationRequest updateInstanceAccessControlAttributeConfigurationRequest)
throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException,
ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* 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
* {@link UpdateInstanceAccessControlAttributeConfigurationRequest.Builder} avoiding the need to create one manually
* via {@link UpdateInstanceAccessControlAttributeConfigurationRequest#builder()}
*
*
* @param updateInstanceAccessControlAttributeConfigurationRequest
* A {@link Consumer} that will call methods on
* {@link UpdateInstanceAccessControlAttributeConfigurationRequest.Builder} to create a request.
* @return Result of the UpdateInstanceAccessControlAttributeConfiguration operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.UpdateInstanceAccessControlAttributeConfiguration
* @see AWS API Documentation
*/
default UpdateInstanceAccessControlAttributeConfigurationResponse updateInstanceAccessControlAttributeConfiguration(
Consumer updateInstanceAccessControlAttributeConfigurationRequest)
throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException,
ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
return updateInstanceAccessControlAttributeConfiguration(UpdateInstanceAccessControlAttributeConfigurationRequest
.builder().applyMutation(updateInstanceAccessControlAttributeConfigurationRequest).build());
}
/**
*
* Updates an existing permission set.
*
*
* @param updatePermissionSetRequest
* @return Result of the UpdatePermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.UpdatePermissionSet
* @see AWS
* API Documentation
*/
default UpdatePermissionSetResponse updatePermissionSet(UpdatePermissionSetRequest updatePermissionSetRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, SsoAdminException {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing permission set.
*
*
*
* This is a convenience which creates an instance of the {@link UpdatePermissionSetRequest.Builder} avoiding the
* need to create one manually via {@link UpdatePermissionSetRequest#builder()}
*
*
* @param updatePermissionSetRequest
* A {@link Consumer} that will call methods on {@link UpdatePermissionSetRequest.Builder} to create a
* request.
* @return Result of the UpdatePermissionSet operation returned by the service.
* @throws ResourceNotFoundException
* Indicates that a requested resource is not found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception, or failure with an internal
* server.
* @throws ThrottlingException
* Indicates that the principal has crossed the throttling limits of the API operations.
* @throws ValidationException
* The request failed because it contains a syntax error.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* Occurs when a conflict with a previous successful write is detected. This generally occurs when the
* previous write did not have time to propagate to the host serving the current request. A retry (with
* appropriate backoff logic) is the recommended response to this exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws SsoAdminException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample SsoAdminClient.UpdatePermissionSet
* @see AWS
* API Documentation
*/
default UpdatePermissionSetResponse updatePermissionSet(
Consumer updatePermissionSetRequest) throws ResourceNotFoundException,
InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException,
AwsServiceException, SdkClientException, SsoAdminException {
return updatePermissionSet(UpdatePermissionSetRequest.builder().applyMutation(updatePermissionSetRequest).build());
}
static ServiceMetadata serviceMetadata() {
return ServiceMetadata.of(SERVICE_METADATA_ID);
}
}