@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.
Identity and Access Management Roles Anywhere provides a secure way for your workloads such as servers, containers, and applications that run outside of Amazon Web Services to obtain temporary Amazon Web Services credentials. Your workloads can use the same IAM policies and roles you have for native Amazon Web Services applications to access Amazon Web Services resources. Using IAM Roles Anywhere eliminates the need to manage long-term credentials for workloads running outside of Amazon Web Services.
To use IAM Roles Anywhere, your workloads must use X.509 certificates issued by their certificate authority (CA). You register the CA with IAM Roles Anywhere as a trust anchor to establish trust between your public key infrastructure (PKI) and IAM Roles Anywhere. If you don't manage your own PKI system, you can use Private Certificate Authority to create a CA and then use that to establish trust with IAM Roles Anywhere.
This guide describes the IAM Roles Anywhere operations that you can call programmatically. For more information about IAM Roles Anywhere, see the IAM Roles Anywhere User Guide.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, createProfile, createTrustAnchor, deleteAttributeMapping, deleteCrl, deleteProfile, deleteTrustAnchor, disableCrl, disableProfile, disableTrustAnchor, enableCrl, enableProfile, enableTrustAnchor, getCachedResponseMetadata, getCrl, getProfile, getSubject, getTrustAnchor, importCrl, listCrls, listProfiles, listSubjects, listTagsForResource, listTrustAnchors, putAttributeMapping, putNotificationSettings, resetNotificationSettings, tagResource, untagResource, updateCrl, updateProfile, updateTrustAnchoraddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateProfile, createTrustAnchor, deleteAttributeMapping, deleteCrl, deleteProfile, deleteTrustAnchor, disableCrl, disableProfile, disableTrustAnchor, enableCrl, enableProfile, enableTrustAnchor, getCachedResponseMetadata, getCrl, getProfile, getSubject, getTrustAnchor, importCrl, listCrls, listProfiles, listSubjects, listTagsForResource, listTrustAnchors, putAttributeMapping, putNotificationSettings, resetNotificationSettings, tagResource, untagResource, updateCrl, updateProfile, updateTrustAnchorpublic static AWSIAMRolesAnywhereAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateProfileResult> createProfileAsync(CreateProfileRequest request)
AWSIAMRolesAnywhereAsyncCreates a profile, a list of the roles that Roles Anywhere service is trusted to assume. You use profiles to 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 list of the roles that Roles Anywhere service is trusted to assume. You use profiles to 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 to establish trust between IAM Roles Anywhere and your certificate authority (CA). You can define a trust anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary Amazon Web Services credentials.
Required permissions: rolesanywhere:CreateTrustAnchor.
createTrustAnchorAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<CreateTrustAnchorResult> createTrustAnchorAsync(CreateTrustAnchorRequest request, AsyncHandler<CreateTrustAnchorRequest,CreateTrustAnchorResult> asyncHandler)
AWSIAMRolesAnywhereAsyncCreates a trust anchor to establish trust between IAM Roles Anywhere and your certificate authority (CA). You can define a trust anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary Amazon Web Services 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<DeleteAttributeMappingResult> deleteAttributeMappingAsync(DeleteAttributeMappingRequest request)
AWSIAMRolesAnywhereAsyncDelete an entry from the attribute mapping rules enforced by a given profile.
deleteAttributeMappingAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<DeleteAttributeMappingResult> deleteAttributeMappingAsync(DeleteAttributeMappingRequest request, AsyncHandler<DeleteAttributeMappingRequest,DeleteAttributeMappingResult> asyncHandler)
AWSIAMRolesAnywhereAsyncDelete an entry from the attribute mapping rules enforced by a given profile.
deleteAttributeMappingAsync 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, temporary credential 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, temporary credential 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, temporary credential 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, temporary credential 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 temporary credential requests for a profile.
Required permissions: rolesanywhere:EnableProfile.
enableProfileAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<EnableProfileResult> enableProfileAsync(EnableProfileRequest request, AsyncHandler<EnableProfileRequest,EnableProfileResult> asyncHandler)
AWSIAMRolesAnywhereAsyncEnables temporary credential requests for a profile.
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, which associates a certificate identity with authentication attempts. The subject stores auditing information such as the 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, which associates a certificate identity with authentication attempts. The subject stores auditing information such as the 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). A CRL is a list of certificates that have been revoked by the issuing certificate Authority (CA).In order to be properly imported, a CRL must be in PEM format. IAM Roles Anywhere validates against the CRL 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). A CRL is a list of certificates that have been revoked by the issuing certificate Authority (CA).In order to be properly imported, a CRL must be in PEM format. IAM Roles Anywhere validates against the CRL 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 certificate revocation lists (CRL) 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 certificate revocation lists (CRL) 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<PutAttributeMappingResult> putAttributeMappingAsync(PutAttributeMappingRequest request)
AWSIAMRolesAnywhereAsyncPut an entry in the attribute mapping rules that will be enforced by a given profile. A mapping specifies a certificate field and one or more specifiers that have contextual meanings.
putAttributeMappingAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<PutAttributeMappingResult> putAttributeMappingAsync(PutAttributeMappingRequest request, AsyncHandler<PutAttributeMappingRequest,PutAttributeMappingResult> asyncHandler)
AWSIAMRolesAnywhereAsyncPut an entry in the attribute mapping rules that will be enforced by a given profile. A mapping specifies a certificate field and one or more specifiers that have contextual meanings.
putAttributeMappingAsync 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<PutNotificationSettingsResult> putNotificationSettingsAsync(PutNotificationSettingsRequest request)
AWSIAMRolesAnywhereAsyncAttaches a list of notification settings to a trust anchor.
A notification setting includes information such as event name, threshold, status of the notification setting, and the channel to notify.
Required permissions: rolesanywhere:PutNotificationSettings.
putNotificationSettingsAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<PutNotificationSettingsResult> putNotificationSettingsAsync(PutNotificationSettingsRequest request, AsyncHandler<PutNotificationSettingsRequest,PutNotificationSettingsResult> asyncHandler)
AWSIAMRolesAnywhereAsyncAttaches a list of notification settings to a trust anchor.
A notification setting includes information such as event name, threshold, status of the notification setting, and the channel to notify.
Required permissions: rolesanywhere:PutNotificationSettings.
putNotificationSettingsAsync 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<ResetNotificationSettingsResult> resetNotificationSettingsAsync(ResetNotificationSettingsRequest request)
AWSIAMRolesAnywhereAsyncResets the custom notification setting to IAM Roles Anywhere default setting.
Required permissions: rolesanywhere:ResetNotificationSettings.
resetNotificationSettingsAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<ResetNotificationSettingsResult> resetNotificationSettingsAsync(ResetNotificationSettingsRequest request, AsyncHandler<ResetNotificationSettingsRequest,ResetNotificationSettingsResult> asyncHandler)
AWSIAMRolesAnywhereAsyncResets the custom notification setting to IAM Roles Anywhere default setting.
Required permissions: rolesanywhere:ResetNotificationSettings.
resetNotificationSettingsAsync 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). A CRL is a list of certificates that have been revoked by the issuing certificate authority (CA). IAM Roles Anywhere validates against the CRL 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). A CRL is a list of certificates that have been revoked by the issuing certificate authority (CA). IAM Roles Anywhere validates against the CRL 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 a profile, a list of the roles that IAM Roles Anywhere service is trusted to assume. You use profiles to intersect permissions with IAM managed policies.
Required permissions: rolesanywhere:UpdateProfile.
updateProfileAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<UpdateProfileResult> updateProfileAsync(UpdateProfileRequest request, AsyncHandler<UpdateProfileRequest,UpdateProfileResult> asyncHandler)
AWSIAMRolesAnywhereAsyncUpdates a profile, a list of the roles that IAM Roles Anywhere service is trusted to assume. You use profiles to intersect 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 a trust anchor. You establish trust between IAM Roles Anywhere and your certificate authority (CA) by configuring a trust anchor. You can define a trust anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary Amazon Web Services credentials.
Required permissions: rolesanywhere:UpdateTrustAnchor.
updateTrustAnchorAsync in interface AWSIAMRolesAnywhereAsyncpublic Future<UpdateTrustAnchorResult> updateTrustAnchorAsync(UpdateTrustAnchorRequest request, AsyncHandler<UpdateTrustAnchorRequest,UpdateTrustAnchorResult> asyncHandler)
AWSIAMRolesAnywhereAsyncUpdates a trust anchor. You establish trust between IAM Roles Anywhere and your certificate authority (CA) by configuring a trust anchor. You can define a trust anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary Amazon Web Services 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 AWSIAMRolesAnywhereClient