@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSIAMRolesAnywhereAsync extends AWSIAMRolesAnywhere
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSIAMRolesAnywhereAsync instead.
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/
ENDPOINT_PREFIXcreateProfile, createTrustAnchor, deleteCrl, deleteProfile, deleteTrustAnchor, disableCrl, disableProfile, disableTrustAnchor, enableCrl, enableProfile, enableTrustAnchor, getCachedResponseMetadata, getCrl, getProfile, getSubject, getTrustAnchor, importCrl, listCrls, listProfiles, listSubjects, listTagsForResource, listTrustAnchors, shutdown, tagResource, untagResource, updateCrl, updateProfile, updateTrustAnchorFuture<CreateProfileResult> createProfileAsync(CreateProfileRequest createProfileRequest)
Creates 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.
createProfileRequest - Future<CreateProfileResult> createProfileAsync(CreateProfileRequest createProfileRequest, AsyncHandler<CreateProfileRequest,CreateProfileResult> asyncHandler)
Creates 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.
createProfileRequest - asyncHandler - 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.Future<CreateTrustAnchorResult> createTrustAnchorAsync(CreateTrustAnchorRequest createTrustAnchorRequest)
Creates 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.
createTrustAnchorRequest - Future<CreateTrustAnchorResult> createTrustAnchorAsync(CreateTrustAnchorRequest createTrustAnchorRequest, AsyncHandler<CreateTrustAnchorRequest,CreateTrustAnchorResult> asyncHandler)
Creates 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.
createTrustAnchorRequest - asyncHandler - 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.Future<DeleteCrlResult> deleteCrlAsync(DeleteCrlRequest deleteCrlRequest)
Deletes a certificate revocation list (CRL).
Required permissions: rolesanywhere:DeleteCrl.
deleteCrlRequest - Future<DeleteCrlResult> deleteCrlAsync(DeleteCrlRequest deleteCrlRequest, AsyncHandler<DeleteCrlRequest,DeleteCrlResult> asyncHandler)
Deletes a certificate revocation list (CRL).
Required permissions: rolesanywhere:DeleteCrl.
deleteCrlRequest - asyncHandler - 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.Future<DeleteProfileResult> deleteProfileAsync(DeleteProfileRequest deleteProfileRequest)
Deletes a profile.
Required permissions: rolesanywhere:DeleteProfile.
deleteProfileRequest - Future<DeleteProfileResult> deleteProfileAsync(DeleteProfileRequest deleteProfileRequest, AsyncHandler<DeleteProfileRequest,DeleteProfileResult> asyncHandler)
Deletes a profile.
Required permissions: rolesanywhere:DeleteProfile.
deleteProfileRequest - asyncHandler - 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.Future<DeleteTrustAnchorResult> deleteTrustAnchorAsync(DeleteTrustAnchorRequest deleteTrustAnchorRequest)
Deletes a trust anchor.
Required permissions: rolesanywhere:DeleteTrustAnchor.
deleteTrustAnchorRequest - Future<DeleteTrustAnchorResult> deleteTrustAnchorAsync(DeleteTrustAnchorRequest deleteTrustAnchorRequest, AsyncHandler<DeleteTrustAnchorRequest,DeleteTrustAnchorResult> asyncHandler)
Deletes a trust anchor.
Required permissions: rolesanywhere:DeleteTrustAnchor.
deleteTrustAnchorRequest - asyncHandler - 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.Future<DisableCrlResult> disableCrlAsync(DisableCrlRequest disableCrlRequest)
Disables a certificate revocation list (CRL).
Required permissions: rolesanywhere:DisableCrl.
disableCrlRequest - Future<DisableCrlResult> disableCrlAsync(DisableCrlRequest disableCrlRequest, AsyncHandler<DisableCrlRequest,DisableCrlResult> asyncHandler)
Disables a certificate revocation list (CRL).
Required permissions: rolesanywhere:DisableCrl.
disableCrlRequest - asyncHandler - 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.Future<DisableProfileResult> disableProfileAsync(DisableProfileRequest disableProfileRequest)
Disables a profile. When disabled, CreateSession requests with this profile fail.
Required permissions: rolesanywhere:DisableProfile.
disableProfileRequest - Future<DisableProfileResult> disableProfileAsync(DisableProfileRequest disableProfileRequest, AsyncHandler<DisableProfileRequest,DisableProfileResult> asyncHandler)
Disables a profile. When disabled, CreateSession requests with this profile fail.
Required permissions: rolesanywhere:DisableProfile.
disableProfileRequest - asyncHandler - 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.Future<DisableTrustAnchorResult> disableTrustAnchorAsync(DisableTrustAnchorRequest disableTrustAnchorRequest)
Disables a trust anchor. When disabled, CreateSession requests specifying this trust anchor are unauthorized.
Required permissions: rolesanywhere:DisableTrustAnchor.
disableTrustAnchorRequest - Future<DisableTrustAnchorResult> disableTrustAnchorAsync(DisableTrustAnchorRequest disableTrustAnchorRequest, AsyncHandler<DisableTrustAnchorRequest,DisableTrustAnchorResult> asyncHandler)
Disables a trust anchor. When disabled, CreateSession requests specifying this trust anchor are unauthorized.
Required permissions: rolesanywhere:DisableTrustAnchor.
disableTrustAnchorRequest - asyncHandler - 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.Future<EnableCrlResult> enableCrlAsync(EnableCrlRequest enableCrlRequest)
Enables a certificate revocation list (CRL). When enabled, certificates stored in the CRL are unauthorized to receive session credentials.
Required permissions: rolesanywhere:EnableCrl.
enableCrlRequest - Future<EnableCrlResult> enableCrlAsync(EnableCrlRequest enableCrlRequest, AsyncHandler<EnableCrlRequest,EnableCrlResult> asyncHandler)
Enables a certificate revocation list (CRL). When enabled, certificates stored in the CRL are unauthorized to receive session credentials.
Required permissions: rolesanywhere:EnableCrl.
enableCrlRequest - asyncHandler - 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.Future<EnableProfileResult> enableProfileAsync(EnableProfileRequest enableProfileRequest)
Enables the roles in a profile to receive session credentials in CreateSession.
Required permissions: rolesanywhere:EnableProfile.
enableProfileRequest - Future<EnableProfileResult> enableProfileAsync(EnableProfileRequest enableProfileRequest, AsyncHandler<EnableProfileRequest,EnableProfileResult> asyncHandler)
Enables the roles in a profile to receive session credentials in CreateSession.
Required permissions: rolesanywhere:EnableProfile.
enableProfileRequest - asyncHandler - 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.Future<EnableTrustAnchorResult> enableTrustAnchorAsync(EnableTrustAnchorRequest enableTrustAnchorRequest)
Enables a trust anchor. When enabled, certificates in the trust anchor chain are authorized for trust validation.
Required permissions: rolesanywhere:EnableTrustAnchor.
enableTrustAnchorRequest - Future<EnableTrustAnchorResult> enableTrustAnchorAsync(EnableTrustAnchorRequest enableTrustAnchorRequest, AsyncHandler<EnableTrustAnchorRequest,EnableTrustAnchorResult> asyncHandler)
Enables a trust anchor. When enabled, certificates in the trust anchor chain are authorized for trust validation.
Required permissions: rolesanywhere:EnableTrustAnchor.
enableTrustAnchorRequest - asyncHandler - 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.Future<GetCrlResult> getCrlAsync(GetCrlRequest getCrlRequest)
Gets a certificate revocation list (CRL).
Required permissions: rolesanywhere:GetCrl.
getCrlRequest - Future<GetCrlResult> getCrlAsync(GetCrlRequest getCrlRequest, AsyncHandler<GetCrlRequest,GetCrlResult> asyncHandler)
Gets a certificate revocation list (CRL).
Required permissions: rolesanywhere:GetCrl.
getCrlRequest - asyncHandler - 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.Future<GetProfileResult> getProfileAsync(GetProfileRequest getProfileRequest)
Gets a profile.
Required permissions: rolesanywhere:GetProfile.
getProfileRequest - Future<GetProfileResult> getProfileAsync(GetProfileRequest getProfileRequest, AsyncHandler<GetProfileRequest,GetProfileResult> asyncHandler)
Gets a profile.
Required permissions: rolesanywhere:GetProfile.
getProfileRequest - asyncHandler - 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.Future<GetSubjectResult> getSubjectAsync(GetSubjectRequest getSubjectRequest)
Gets 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.
getSubjectRequest - Future<GetSubjectResult> getSubjectAsync(GetSubjectRequest getSubjectRequest, AsyncHandler<GetSubjectRequest,GetSubjectResult> asyncHandler)
Gets 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.
getSubjectRequest - asyncHandler - 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.Future<GetTrustAnchorResult> getTrustAnchorAsync(GetTrustAnchorRequest getTrustAnchorRequest)
Gets a trust anchor.
Required permissions: rolesanywhere:GetTrustAnchor.
getTrustAnchorRequest - Future<GetTrustAnchorResult> getTrustAnchorAsync(GetTrustAnchorRequest getTrustAnchorRequest, AsyncHandler<GetTrustAnchorRequest,GetTrustAnchorResult> asyncHandler)
Gets a trust anchor.
Required permissions: rolesanywhere:GetTrustAnchor.
getTrustAnchorRequest - asyncHandler - 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.Future<ImportCrlResult> importCrlAsync(ImportCrlRequest importCrlRequest)
Imports 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.
importCrlRequest - Future<ImportCrlResult> importCrlAsync(ImportCrlRequest importCrlRequest, AsyncHandler<ImportCrlRequest,ImportCrlResult> asyncHandler)
Imports 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.
importCrlRequest - asyncHandler - 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.Future<ListCrlsResult> listCrlsAsync(ListCrlsRequest listCrlsRequest)
Lists all Crls in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListCrls.
listCrlsRequest - Future<ListCrlsResult> listCrlsAsync(ListCrlsRequest listCrlsRequest, AsyncHandler<ListCrlsRequest,ListCrlsResult> asyncHandler)
Lists all Crls in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListCrls.
listCrlsRequest - asyncHandler - 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.Future<ListProfilesResult> listProfilesAsync(ListProfilesRequest listProfilesRequest)
Lists all profiles in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListProfiles.
listProfilesRequest - Future<ListProfilesResult> listProfilesAsync(ListProfilesRequest listProfilesRequest, AsyncHandler<ListProfilesRequest,ListProfilesResult> asyncHandler)
Lists all profiles in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListProfiles.
listProfilesRequest - asyncHandler - 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.Future<ListSubjectsResult> listSubjectsAsync(ListSubjectsRequest listSubjectsRequest)
Lists the subjects in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListSubjects.
listSubjectsRequest - Future<ListSubjectsResult> listSubjectsAsync(ListSubjectsRequest listSubjectsRequest, AsyncHandler<ListSubjectsRequest,ListSubjectsResult> asyncHandler)
Lists the subjects in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListSubjects.
listSubjectsRequest - asyncHandler - 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.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags attached to the resource.
Required permissions: rolesanywhere:ListTagsForResource.
listTagsForResourceRequest - Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists the tags attached to the resource.
Required permissions: rolesanywhere:ListTagsForResource.
listTagsForResourceRequest - asyncHandler - 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.Future<ListTrustAnchorsResult> listTrustAnchorsAsync(ListTrustAnchorsRequest listTrustAnchorsRequest)
Lists the trust anchors in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListTrustAnchors.
listTrustAnchorsRequest - Future<ListTrustAnchorsResult> listTrustAnchorsAsync(ListTrustAnchorsRequest listTrustAnchorsRequest, AsyncHandler<ListTrustAnchorsRequest,ListTrustAnchorsResult> asyncHandler)
Lists the trust anchors in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListTrustAnchors.
listTrustAnchorsRequest - asyncHandler - 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.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Attaches tags to a resource.
Required permissions: rolesanywhere:TagResource.
tagResourceRequest - Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Attaches tags to a resource.
Required permissions: rolesanywhere:TagResource.
tagResourceRequest - asyncHandler - 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.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Removes tags from the resource.
Required permissions: rolesanywhere:UntagResource.
untagResourceRequest - Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes tags from the resource.
Required permissions: rolesanywhere:UntagResource.
untagResourceRequest - asyncHandler - 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.Future<UpdateCrlResult> updateCrlAsync(UpdateCrlRequest updateCrlRequest)
Updates 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.
updateCrlRequest - Future<UpdateCrlResult> updateCrlAsync(UpdateCrlRequest updateCrlRequest, AsyncHandler<UpdateCrlRequest,UpdateCrlResult> asyncHandler)
Updates 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.
updateCrlRequest - asyncHandler - 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.Future<UpdateProfileResult> updateProfileAsync(UpdateProfileRequest updateProfileRequest)
Updates 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.
updateProfileRequest - Future<UpdateProfileResult> updateProfileAsync(UpdateProfileRequest updateProfileRequest, AsyncHandler<UpdateProfileRequest,UpdateProfileResult> asyncHandler)
Updates 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.
updateProfileRequest - asyncHandler - 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.Future<UpdateTrustAnchorResult> updateTrustAnchorAsync(UpdateTrustAnchorRequest updateTrustAnchorRequest)
Updates 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.
updateTrustAnchorRequest - Future<UpdateTrustAnchorResult> updateTrustAnchorAsync(UpdateTrustAnchorRequest updateTrustAnchorRequest, AsyncHandler<UpdateTrustAnchorRequest,UpdateTrustAnchorResult> asyncHandler)
Updates 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.
updateTrustAnchorRequest - asyncHandler - 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.Copyright © 2022. All rights reserved.