@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSIAMRolesAnywhereAsyncClient extends AWSIAMRolesAnywhereClient implements AWSIAMRolesAnywhereAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
AWS Identity and Access Management Roles Anywhere provides a secure way for your workloads such as servers, containers, and applications running outside of AWS to obtain Temporary AWS credentials. Your workloads can use the same IAM policies and roles that you have configured with native AWS applications to access AWS resources. Using IAM Roles Anywhere will eliminate the need to manage long term credentials for workloads running outside of AWS.
To use IAM Roles Anywhere customer workloads will need to use X.509 certificates issued by their Certificate Authority (CA) . The Certificate Authority (CA) needs to be registered with IAM Roles Anywhere as a trust anchor to establish trust between customer PKI and IAM Roles Anywhere. Customers who do not manage their own PKI system can use AWS Certificate Manager Private Certificate Authority (ACM PCA) to create a Certificate Authority and use that to establish trust with IAM Roles Anywhere
This guide describes the IAM rolesanywhere operations that you can call programmatically. For general information about IAM Roles Anywhere see https://docs.aws.amazon.com/
configFactoryclient, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIXbuilder, createProfile, createTrustAnchor, deleteCrl, deleteProfile, deleteTrustAnchor, disableCrl, disableProfile, disableTrustAnchor, enableCrl, enableProfile, enableTrustAnchor, getCachedResponseMetadata, getCrl, getProfile, getSubject, getTrustAnchor, importCrl, listCrls, listProfiles, listSubjects, listTagsForResource, listTrustAnchors, tagResource, untagResource, updateCrl, updateProfile, updateTrustAnchoraddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateProfile, createTrustAnchor, deleteCrl, deleteProfile, deleteTrustAnchor, disableCrl, disableProfile, disableTrustAnchor, enableCrl, enableProfile, enableTrustAnchor, getCachedResponseMetadata, getCrl, getProfile, getSubject, getTrustAnchor, importCrl, listCrls, listProfiles, listSubjects, listTagsForResource, listTrustAnchors, tagResource, untagResource, updateCrl, updateProfile, updateTrustAnchorpublic static AWSIAMRolesAnywhereAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateProfileResult> createProfileAsync(CreateProfileRequest request)
AWSIAMRolesAnywhereAsyncCreates a profile. A profile is configuration resource to list the roles that RolesAnywhere service is trusted to assume. In addition, by applying a profile you can intersect permissions with IAM managed policies.
Required permissions: rolesanywhere:CreateProfile.
createProfileAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<CreateProfileResult> createProfileAsync(CreateProfileRequest request, AsyncHandler<CreateProfileRequest,CreateProfileResult> asyncHandler)
AWSIAMRolesAnywhereAsyncCreates a profile. A profile is configuration resource to list the roles that RolesAnywhere service is trusted to assume. In addition, by applying a profile you can intersect permissions with IAM managed policies.
Required permissions: rolesanywhere:CreateProfile.
createProfileAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateTrustAnchorResult> createTrustAnchorAsync(CreateTrustAnchorRequest request)
AWSIAMRolesAnywhereAsyncCreates a trust anchor. You establish trust between IAM Roles Anywhere and your certificate authority (CA) by configuring a trust anchor. A Trust Anchor is defined either as a reference to a AWS Certificate Manager Private Certificate Authority (ACM PCA), or by uploading a Certificate Authority (CA) certificate. Your AWS workloads can authenticate with the trust anchor using certificates issued by the trusted Certificate Authority (CA) in exchange for temporary AWS credentials.
Required permissions: rolesanywhere:CreateTrustAnchor.
createTrustAnchorAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<CreateTrustAnchorResult> createTrustAnchorAsync(CreateTrustAnchorRequest request, AsyncHandler<CreateTrustAnchorRequest,CreateTrustAnchorResult> asyncHandler)
AWSIAMRolesAnywhereAsyncCreates a trust anchor. You establish trust between IAM Roles Anywhere and your certificate authority (CA) by configuring a trust anchor. A Trust Anchor is defined either as a reference to a AWS Certificate Manager Private Certificate Authority (ACM PCA), or by uploading a Certificate Authority (CA) certificate. Your AWS workloads can authenticate with the trust anchor using certificates issued by the trusted Certificate Authority (CA) in exchange for temporary AWS credentials.
Required permissions: rolesanywhere:CreateTrustAnchor.
createTrustAnchorAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteCrlResult> deleteCrlAsync(DeleteCrlRequest request)
AWSIAMRolesAnywhereAsyncDeletes a certificate revocation list (CRL).
Required permissions: rolesanywhere:DeleteCrl.
deleteCrlAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<DeleteCrlResult> deleteCrlAsync(DeleteCrlRequest request, AsyncHandler<DeleteCrlRequest,DeleteCrlResult> asyncHandler)
AWSIAMRolesAnywhereAsyncDeletes a certificate revocation list (CRL).
Required permissions: rolesanywhere:DeleteCrl.
deleteCrlAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteProfileResult> deleteProfileAsync(DeleteProfileRequest request)
AWSIAMRolesAnywhereAsyncDeletes a profile.
Required permissions: rolesanywhere:DeleteProfile.
deleteProfileAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<DeleteProfileResult> deleteProfileAsync(DeleteProfileRequest request, AsyncHandler<DeleteProfileRequest,DeleteProfileResult> asyncHandler)
AWSIAMRolesAnywhereAsyncDeletes a profile.
Required permissions: rolesanywhere:DeleteProfile.
deleteProfileAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteTrustAnchorResult> deleteTrustAnchorAsync(DeleteTrustAnchorRequest request)
AWSIAMRolesAnywhereAsyncDeletes a trust anchor.
Required permissions: rolesanywhere:DeleteTrustAnchor.
deleteTrustAnchorAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<DeleteTrustAnchorResult> deleteTrustAnchorAsync(DeleteTrustAnchorRequest request, AsyncHandler<DeleteTrustAnchorRequest,DeleteTrustAnchorResult> asyncHandler)
AWSIAMRolesAnywhereAsyncDeletes a trust anchor.
Required permissions: rolesanywhere:DeleteTrustAnchor.
deleteTrustAnchorAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisableCrlResult> disableCrlAsync(DisableCrlRequest request)
AWSIAMRolesAnywhereAsyncDisables a certificate revocation list (CRL).
Required permissions: rolesanywhere:DisableCrl.
disableCrlAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<DisableCrlResult> disableCrlAsync(DisableCrlRequest request, AsyncHandler<DisableCrlRequest,DisableCrlResult> asyncHandler)
AWSIAMRolesAnywhereAsyncDisables a certificate revocation list (CRL).
Required permissions: rolesanywhere:DisableCrl.
disableCrlAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisableProfileResult> disableProfileAsync(DisableProfileRequest request)
AWSIAMRolesAnywhereAsyncDisables a profile. When disabled, CreateSession requests with this profile fail.
Required permissions: rolesanywhere:DisableProfile.
disableProfileAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<DisableProfileResult> disableProfileAsync(DisableProfileRequest request, AsyncHandler<DisableProfileRequest,DisableProfileResult> asyncHandler)
AWSIAMRolesAnywhereAsyncDisables a profile. When disabled, CreateSession requests with this profile fail.
Required permissions: rolesanywhere:DisableProfile.
disableProfileAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisableTrustAnchorResult> disableTrustAnchorAsync(DisableTrustAnchorRequest request)
AWSIAMRolesAnywhereAsyncDisables a trust anchor. When disabled, CreateSession requests specifying this trust anchor are unauthorized.
Required permissions: rolesanywhere:DisableTrustAnchor.
disableTrustAnchorAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<DisableTrustAnchorResult> disableTrustAnchorAsync(DisableTrustAnchorRequest request, AsyncHandler<DisableTrustAnchorRequest,DisableTrustAnchorResult> asyncHandler)
AWSIAMRolesAnywhereAsyncDisables a trust anchor. When disabled, CreateSession requests specifying this trust anchor are unauthorized.
Required permissions: rolesanywhere:DisableTrustAnchor.
disableTrustAnchorAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<EnableCrlResult> enableCrlAsync(EnableCrlRequest request)
AWSIAMRolesAnywhereAsyncEnables a certificate revocation list (CRL). When enabled, certificates stored in the CRL are unauthorized to receive session credentials.
Required permissions: rolesanywhere:EnableCrl.
enableCrlAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<EnableCrlResult> enableCrlAsync(EnableCrlRequest request, AsyncHandler<EnableCrlRequest,EnableCrlResult> asyncHandler)
AWSIAMRolesAnywhereAsyncEnables a certificate revocation list (CRL). When enabled, certificates stored in the CRL are unauthorized to receive session credentials.
Required permissions: rolesanywhere:EnableCrl.
enableCrlAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<EnableProfileResult> enableProfileAsync(EnableProfileRequest request)
AWSIAMRolesAnywhereAsyncEnables the roles in a profile to receive session credentials in CreateSession.
Required permissions: rolesanywhere:EnableProfile.
enableProfileAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<EnableProfileResult> enableProfileAsync(EnableProfileRequest request, AsyncHandler<EnableProfileRequest,EnableProfileResult> asyncHandler)
AWSIAMRolesAnywhereAsyncEnables the roles in a profile to receive session credentials in CreateSession.
Required permissions: rolesanywhere:EnableProfile.
enableProfileAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<EnableTrustAnchorResult> enableTrustAnchorAsync(EnableTrustAnchorRequest request)
AWSIAMRolesAnywhereAsyncEnables a trust anchor. When enabled, certificates in the trust anchor chain are authorized for trust validation.
Required permissions: rolesanywhere:EnableTrustAnchor.
enableTrustAnchorAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<EnableTrustAnchorResult> enableTrustAnchorAsync(EnableTrustAnchorRequest request, AsyncHandler<EnableTrustAnchorRequest,EnableTrustAnchorResult> asyncHandler)
AWSIAMRolesAnywhereAsyncEnables a trust anchor. When enabled, certificates in the trust anchor chain are authorized for trust validation.
Required permissions: rolesanywhere:EnableTrustAnchor.
enableTrustAnchorAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetCrlResult> getCrlAsync(GetCrlRequest request)
AWSIAMRolesAnywhereAsyncGets a certificate revocation list (CRL).
Required permissions: rolesanywhere:GetCrl.
getCrlAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<GetCrlResult> getCrlAsync(GetCrlRequest request, AsyncHandler<GetCrlRequest,GetCrlResult> asyncHandler)
AWSIAMRolesAnywhereAsyncGets a certificate revocation list (CRL).
Required permissions: rolesanywhere:GetCrl.
getCrlAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetProfileResult> getProfileAsync(GetProfileRequest request)
AWSIAMRolesAnywhereAsyncGets a profile.
Required permissions: rolesanywhere:GetProfile.
getProfileAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<GetProfileResult> getProfileAsync(GetProfileRequest request, AsyncHandler<GetProfileRequest,GetProfileResult> asyncHandler)
AWSIAMRolesAnywhereAsyncGets a profile.
Required permissions: rolesanywhere:GetProfile.
getProfileAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetSubjectResult> getSubjectAsync(GetSubjectRequest request)
AWSIAMRolesAnywhereAsyncGets a Subject. A Subject associates a certificate identity with authentication attempts by CreateSession. The Subject resources stores audit information such as status of the last authentication attempt, the certificate data used in the attempt, and the last time the associated identity attempted authentication.
Required permissions: rolesanywhere:GetSubject.
getSubjectAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<GetSubjectResult> getSubjectAsync(GetSubjectRequest request, AsyncHandler<GetSubjectRequest,GetSubjectResult> asyncHandler)
AWSIAMRolesAnywhereAsyncGets a Subject. A Subject associates a certificate identity with authentication attempts by CreateSession. The Subject resources stores audit information such as status of the last authentication attempt, the certificate data used in the attempt, and the last time the associated identity attempted authentication.
Required permissions: rolesanywhere:GetSubject.
getSubjectAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetTrustAnchorResult> getTrustAnchorAsync(GetTrustAnchorRequest request)
AWSIAMRolesAnywhereAsyncGets a trust anchor.
Required permissions: rolesanywhere:GetTrustAnchor.
getTrustAnchorAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<GetTrustAnchorResult> getTrustAnchorAsync(GetTrustAnchorRequest request, AsyncHandler<GetTrustAnchorRequest,GetTrustAnchorResult> asyncHandler)
AWSIAMRolesAnywhereAsyncGets a trust anchor.
Required permissions: rolesanywhere:GetTrustAnchor.
getTrustAnchorAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ImportCrlResult> importCrlAsync(ImportCrlRequest request)
AWSIAMRolesAnywhereAsyncImports the certificate revocation list (CRL). CRl is a list of certificates that have been revoked by the issuing certificate Authority (CA). IAM Roles Anywhere validates against the crl list before issuing credentials.
Required permissions: rolesanywhere:ImportCrl.
importCrlAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<ImportCrlResult> importCrlAsync(ImportCrlRequest request, AsyncHandler<ImportCrlRequest,ImportCrlResult> asyncHandler)
AWSIAMRolesAnywhereAsyncImports the certificate revocation list (CRL). CRl is a list of certificates that have been revoked by the issuing certificate Authority (CA). IAM Roles Anywhere validates against the crl list before issuing credentials.
Required permissions: rolesanywhere:ImportCrl.
importCrlAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListCrlsResult> listCrlsAsync(ListCrlsRequest request)
AWSIAMRolesAnywhereAsyncLists all Crls in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListCrls.
listCrlsAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<ListCrlsResult> listCrlsAsync(ListCrlsRequest request, AsyncHandler<ListCrlsRequest,ListCrlsResult> asyncHandler)
AWSIAMRolesAnywhereAsyncLists all Crls in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListCrls.
listCrlsAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListProfilesResult> listProfilesAsync(ListProfilesRequest request)
AWSIAMRolesAnywhereAsyncLists all profiles in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListProfiles.
listProfilesAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<ListProfilesResult> listProfilesAsync(ListProfilesRequest request, AsyncHandler<ListProfilesRequest,ListProfilesResult> asyncHandler)
AWSIAMRolesAnywhereAsyncLists all profiles in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListProfiles.
listProfilesAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSubjectsResult> listSubjectsAsync(ListSubjectsRequest request)
AWSIAMRolesAnywhereAsyncLists the subjects in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListSubjects.
listSubjectsAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<ListSubjectsResult> listSubjectsAsync(ListSubjectsRequest request, AsyncHandler<ListSubjectsRequest,ListSubjectsResult> asyncHandler)
AWSIAMRolesAnywhereAsyncLists the subjects in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListSubjects.
listSubjectsAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSIAMRolesAnywhereAsyncLists the tags attached to the resource.
Required permissions: rolesanywhere:ListTagsForResource.
listTagsForResourceAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSIAMRolesAnywhereAsyncLists the tags attached to the resource.
Required permissions: rolesanywhere:ListTagsForResource.
listTagsForResourceAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTrustAnchorsResult> listTrustAnchorsAsync(ListTrustAnchorsRequest request)
AWSIAMRolesAnywhereAsyncLists the trust anchors in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListTrustAnchors.
listTrustAnchorsAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<ListTrustAnchorsResult> listTrustAnchorsAsync(ListTrustAnchorsRequest request, AsyncHandler<ListTrustAnchorsRequest,ListTrustAnchorsResult> asyncHandler)
AWSIAMRolesAnywhereAsyncLists the trust anchors in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListTrustAnchors.
listTrustAnchorsAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSIAMRolesAnywhereAsyncAttaches tags to a resource.
Required permissions: rolesanywhere:TagResource.
tagResourceAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSIAMRolesAnywhereAsyncAttaches tags to a resource.
Required permissions: rolesanywhere:TagResource.
tagResourceAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSIAMRolesAnywhereAsyncRemoves tags from the resource.
Required permissions: rolesanywhere:UntagResource.
untagResourceAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSIAMRolesAnywhereAsyncRemoves tags from the resource.
Required permissions: rolesanywhere:UntagResource.
untagResourceAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateCrlResult> updateCrlAsync(UpdateCrlRequest request)
AWSIAMRolesAnywhereAsyncUpdates the certificate revocation list (CRL). CRl is a list of certificates that have been revoked by the issuing certificate Authority (CA). IAM Roles Anywhere validates against the crl list before issuing credentials.
Required permissions: rolesanywhere:UpdateCrl.
updateCrlAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<UpdateCrlResult> updateCrlAsync(UpdateCrlRequest request, AsyncHandler<UpdateCrlRequest,UpdateCrlResult> asyncHandler)
AWSIAMRolesAnywhereAsyncUpdates the certificate revocation list (CRL). CRl is a list of certificates that have been revoked by the issuing certificate Authority (CA). IAM Roles Anywhere validates against the crl list before issuing credentials.
Required permissions: rolesanywhere:UpdateCrl.
updateCrlAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateProfileResult> updateProfileAsync(UpdateProfileRequest request)
AWSIAMRolesAnywhereAsyncUpdates the profile. A profile is configuration resource to list the roles that RolesAnywhere service is trusted to assume. In addition, by applying a profile you can scope-down permissions with IAM managed policies.
Required permissions: rolesanywhere:UpdateProfile.
updateProfileAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<UpdateProfileResult> updateProfileAsync(UpdateProfileRequest request, AsyncHandler<UpdateProfileRequest,UpdateProfileResult> asyncHandler)
AWSIAMRolesAnywhereAsyncUpdates the profile. A profile is configuration resource to list the roles that RolesAnywhere service is trusted to assume. In addition, by applying a profile you can scope-down permissions with IAM managed policies.
Required permissions: rolesanywhere:UpdateProfile.
updateProfileAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateTrustAnchorResult> updateTrustAnchorAsync(UpdateTrustAnchorRequest request)
AWSIAMRolesAnywhereAsyncUpdates the trust anchor.You establish trust between IAM Roles Anywhere and your certificate authority (CA) by configuring a trust anchor. A Trust Anchor is defined either as a reference to a AWS Certificate Manager Private Certificate Authority (ACM PCA), or by uploading a Certificate Authority (CA) certificate. Your AWS workloads can authenticate with the trust anchor using certificates issued by the trusted Certificate Authority (CA) in exchange for temporary AWS credentials.
Required permissions: rolesanywhere:UpdateTrustAnchor.
updateTrustAnchorAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<UpdateTrustAnchorResult> updateTrustAnchorAsync(UpdateTrustAnchorRequest request, AsyncHandler<UpdateTrustAnchorRequest,UpdateTrustAnchorResult> asyncHandler)
AWSIAMRolesAnywhereAsyncUpdates the trust anchor.You establish trust between IAM Roles Anywhere and your certificate authority (CA) by configuring a trust anchor. A Trust Anchor is defined either as a reference to a AWS Certificate Manager Private Certificate Authority (ACM PCA), or by uploading a Certificate Authority (CA) certificate. Your AWS workloads can authenticate with the trust anchor using certificates issued by the trusted Certificate Authority (CA) in exchange for temporary AWS credentials.
Required permissions: rolesanywhere:UpdateTrustAnchor.
updateTrustAnchorAsync in interface AWSIAMRolesAnywhereAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSIAMRolesAnywhereshutdown in class AWSIAMRolesAnywhereClientCopyright © 2022. All rights reserved.