@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_METRIC
ENDPOINT_PREFIX
builder, 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, updateTrustAnchor
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, updateTrustAnchor
public static AWSIAMRolesAnywhereAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateProfileResult> createProfileAsync(CreateProfileRequest request)
AWSIAMRolesAnywhereAsync
Creates 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 AWSIAMRolesAnywhereAsync
public Future<CreateProfileResult> createProfileAsync(CreateProfileRequest request, AsyncHandler<CreateProfileRequest,CreateProfileResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Creates 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 AWSIAMRolesAnywhereAsync
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.public Future<CreateTrustAnchorResult> createTrustAnchorAsync(CreateTrustAnchorRequest request)
AWSIAMRolesAnywhereAsync
Creates 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 AWSIAMRolesAnywhereAsync
public Future<CreateTrustAnchorResult> createTrustAnchorAsync(CreateTrustAnchorRequest request, AsyncHandler<CreateTrustAnchorRequest,CreateTrustAnchorResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Creates 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 AWSIAMRolesAnywhereAsync
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.public Future<DeleteAttributeMappingResult> deleteAttributeMappingAsync(DeleteAttributeMappingRequest request)
AWSIAMRolesAnywhereAsync
Delete an entry from the attribute mapping rules enforced by a given profile.
deleteAttributeMappingAsync
in interface AWSIAMRolesAnywhereAsync
public Future<DeleteAttributeMappingResult> deleteAttributeMappingAsync(DeleteAttributeMappingRequest request, AsyncHandler<DeleteAttributeMappingRequest,DeleteAttributeMappingResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Delete an entry from the attribute mapping rules enforced by a given profile.
deleteAttributeMappingAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<DeleteCrlResult> deleteCrlAsync(DeleteCrlRequest request)
AWSIAMRolesAnywhereAsync
Deletes a certificate revocation list (CRL).
Required permissions: rolesanywhere:DeleteCrl
.
deleteCrlAsync
in interface AWSIAMRolesAnywhereAsync
public Future<DeleteCrlResult> deleteCrlAsync(DeleteCrlRequest request, AsyncHandler<DeleteCrlRequest,DeleteCrlResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Deletes a certificate revocation list (CRL).
Required permissions: rolesanywhere:DeleteCrl
.
deleteCrlAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<DeleteProfileResult> deleteProfileAsync(DeleteProfileRequest request)
AWSIAMRolesAnywhereAsync
Deletes a profile.
Required permissions: rolesanywhere:DeleteProfile
.
deleteProfileAsync
in interface AWSIAMRolesAnywhereAsync
public Future<DeleteProfileResult> deleteProfileAsync(DeleteProfileRequest request, AsyncHandler<DeleteProfileRequest,DeleteProfileResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Deletes a profile.
Required permissions: rolesanywhere:DeleteProfile
.
deleteProfileAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<DeleteTrustAnchorResult> deleteTrustAnchorAsync(DeleteTrustAnchorRequest request)
AWSIAMRolesAnywhereAsync
Deletes a trust anchor.
Required permissions: rolesanywhere:DeleteTrustAnchor
.
deleteTrustAnchorAsync
in interface AWSIAMRolesAnywhereAsync
public Future<DeleteTrustAnchorResult> deleteTrustAnchorAsync(DeleteTrustAnchorRequest request, AsyncHandler<DeleteTrustAnchorRequest,DeleteTrustAnchorResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Deletes a trust anchor.
Required permissions: rolesanywhere:DeleteTrustAnchor
.
deleteTrustAnchorAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<DisableCrlResult> disableCrlAsync(DisableCrlRequest request)
AWSIAMRolesAnywhereAsync
Disables a certificate revocation list (CRL).
Required permissions: rolesanywhere:DisableCrl
.
disableCrlAsync
in interface AWSIAMRolesAnywhereAsync
public Future<DisableCrlResult> disableCrlAsync(DisableCrlRequest request, AsyncHandler<DisableCrlRequest,DisableCrlResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Disables a certificate revocation list (CRL).
Required permissions: rolesanywhere:DisableCrl
.
disableCrlAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<DisableProfileResult> disableProfileAsync(DisableProfileRequest request)
AWSIAMRolesAnywhereAsync
Disables a profile. When disabled, temporary credential requests with this profile fail.
Required permissions: rolesanywhere:DisableProfile
.
disableProfileAsync
in interface AWSIAMRolesAnywhereAsync
public Future<DisableProfileResult> disableProfileAsync(DisableProfileRequest request, AsyncHandler<DisableProfileRequest,DisableProfileResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Disables a profile. When disabled, temporary credential requests with this profile fail.
Required permissions: rolesanywhere:DisableProfile
.
disableProfileAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<DisableTrustAnchorResult> disableTrustAnchorAsync(DisableTrustAnchorRequest request)
AWSIAMRolesAnywhereAsync
Disables a trust anchor. When disabled, temporary credential requests specifying this trust anchor are unauthorized.
Required permissions: rolesanywhere:DisableTrustAnchor
.
disableTrustAnchorAsync
in interface AWSIAMRolesAnywhereAsync
public Future<DisableTrustAnchorResult> disableTrustAnchorAsync(DisableTrustAnchorRequest request, AsyncHandler<DisableTrustAnchorRequest,DisableTrustAnchorResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Disables a trust anchor. When disabled, temporary credential requests specifying this trust anchor are unauthorized.
Required permissions: rolesanywhere:DisableTrustAnchor
.
disableTrustAnchorAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<EnableCrlResult> enableCrlAsync(EnableCrlRequest request)
AWSIAMRolesAnywhereAsync
Enables 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 AWSIAMRolesAnywhereAsync
public Future<EnableCrlResult> enableCrlAsync(EnableCrlRequest request, AsyncHandler<EnableCrlRequest,EnableCrlResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Enables 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 AWSIAMRolesAnywhereAsync
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.public Future<EnableProfileResult> enableProfileAsync(EnableProfileRequest request)
AWSIAMRolesAnywhereAsync
Enables temporary credential requests for a profile.
Required permissions: rolesanywhere:EnableProfile
.
enableProfileAsync
in interface AWSIAMRolesAnywhereAsync
public Future<EnableProfileResult> enableProfileAsync(EnableProfileRequest request, AsyncHandler<EnableProfileRequest,EnableProfileResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Enables temporary credential requests for a profile.
Required permissions: rolesanywhere:EnableProfile
.
enableProfileAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<EnableTrustAnchorResult> enableTrustAnchorAsync(EnableTrustAnchorRequest request)
AWSIAMRolesAnywhereAsync
Enables a trust anchor. When enabled, certificates in the trust anchor chain are authorized for trust validation.
Required permissions: rolesanywhere:EnableTrustAnchor
.
enableTrustAnchorAsync
in interface AWSIAMRolesAnywhereAsync
public Future<EnableTrustAnchorResult> enableTrustAnchorAsync(EnableTrustAnchorRequest request, AsyncHandler<EnableTrustAnchorRequest,EnableTrustAnchorResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Enables a trust anchor. When enabled, certificates in the trust anchor chain are authorized for trust validation.
Required permissions: rolesanywhere:EnableTrustAnchor
.
enableTrustAnchorAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<GetCrlResult> getCrlAsync(GetCrlRequest request)
AWSIAMRolesAnywhereAsync
Gets a certificate revocation list (CRL).
Required permissions: rolesanywhere:GetCrl
.
getCrlAsync
in interface AWSIAMRolesAnywhereAsync
public Future<GetCrlResult> getCrlAsync(GetCrlRequest request, AsyncHandler<GetCrlRequest,GetCrlResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Gets a certificate revocation list (CRL).
Required permissions: rolesanywhere:GetCrl
.
getCrlAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<GetProfileResult> getProfileAsync(GetProfileRequest request)
AWSIAMRolesAnywhereAsync
Gets a profile.
Required permissions: rolesanywhere:GetProfile
.
getProfileAsync
in interface AWSIAMRolesAnywhereAsync
public Future<GetProfileResult> getProfileAsync(GetProfileRequest request, AsyncHandler<GetProfileRequest,GetProfileResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Gets a profile.
Required permissions: rolesanywhere:GetProfile
.
getProfileAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<GetSubjectResult> getSubjectAsync(GetSubjectRequest request)
AWSIAMRolesAnywhereAsync
Gets 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 AWSIAMRolesAnywhereAsync
public Future<GetSubjectResult> getSubjectAsync(GetSubjectRequest request, AsyncHandler<GetSubjectRequest,GetSubjectResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Gets 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 AWSIAMRolesAnywhereAsync
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.public Future<GetTrustAnchorResult> getTrustAnchorAsync(GetTrustAnchorRequest request)
AWSIAMRolesAnywhereAsync
Gets a trust anchor.
Required permissions: rolesanywhere:GetTrustAnchor
.
getTrustAnchorAsync
in interface AWSIAMRolesAnywhereAsync
public Future<GetTrustAnchorResult> getTrustAnchorAsync(GetTrustAnchorRequest request, AsyncHandler<GetTrustAnchorRequest,GetTrustAnchorResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Gets a trust anchor.
Required permissions: rolesanywhere:GetTrustAnchor
.
getTrustAnchorAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<ImportCrlResult> importCrlAsync(ImportCrlRequest request)
AWSIAMRolesAnywhereAsync
Imports 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 AWSIAMRolesAnywhereAsync
public Future<ImportCrlResult> importCrlAsync(ImportCrlRequest request, AsyncHandler<ImportCrlRequest,ImportCrlResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Imports 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 AWSIAMRolesAnywhereAsync
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.public Future<ListCrlsResult> listCrlsAsync(ListCrlsRequest request)
AWSIAMRolesAnywhereAsync
Lists all certificate revocation lists (CRL) in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListCrls
.
listCrlsAsync
in interface AWSIAMRolesAnywhereAsync
public Future<ListCrlsResult> listCrlsAsync(ListCrlsRequest request, AsyncHandler<ListCrlsRequest,ListCrlsResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Lists all certificate revocation lists (CRL) in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListCrls
.
listCrlsAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<ListProfilesResult> listProfilesAsync(ListProfilesRequest request)
AWSIAMRolesAnywhereAsync
Lists all profiles in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListProfiles
.
listProfilesAsync
in interface AWSIAMRolesAnywhereAsync
public Future<ListProfilesResult> listProfilesAsync(ListProfilesRequest request, AsyncHandler<ListProfilesRequest,ListProfilesResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Lists all profiles in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListProfiles
.
listProfilesAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<ListSubjectsResult> listSubjectsAsync(ListSubjectsRequest request)
AWSIAMRolesAnywhereAsync
Lists the subjects in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListSubjects
.
listSubjectsAsync
in interface AWSIAMRolesAnywhereAsync
public Future<ListSubjectsResult> listSubjectsAsync(ListSubjectsRequest request, AsyncHandler<ListSubjectsRequest,ListSubjectsResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Lists the subjects in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListSubjects
.
listSubjectsAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSIAMRolesAnywhereAsync
Lists the tags attached to the resource.
Required permissions: rolesanywhere:ListTagsForResource
.
listTagsForResourceAsync
in interface AWSIAMRolesAnywhereAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Lists the tags attached to the resource.
Required permissions: rolesanywhere:ListTagsForResource
.
listTagsForResourceAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<ListTrustAnchorsResult> listTrustAnchorsAsync(ListTrustAnchorsRequest request)
AWSIAMRolesAnywhereAsync
Lists the trust anchors in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListTrustAnchors
.
listTrustAnchorsAsync
in interface AWSIAMRolesAnywhereAsync
public Future<ListTrustAnchorsResult> listTrustAnchorsAsync(ListTrustAnchorsRequest request, AsyncHandler<ListTrustAnchorsRequest,ListTrustAnchorsResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Lists the trust anchors in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListTrustAnchors
.
listTrustAnchorsAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<PutAttributeMappingResult> putAttributeMappingAsync(PutAttributeMappingRequest request)
AWSIAMRolesAnywhereAsync
Put 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 AWSIAMRolesAnywhereAsync
public Future<PutAttributeMappingResult> putAttributeMappingAsync(PutAttributeMappingRequest request, AsyncHandler<PutAttributeMappingRequest,PutAttributeMappingResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Put 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 AWSIAMRolesAnywhereAsync
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.public Future<PutNotificationSettingsResult> putNotificationSettingsAsync(PutNotificationSettingsRequest request)
AWSIAMRolesAnywhereAsync
Attaches 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 AWSIAMRolesAnywhereAsync
public Future<PutNotificationSettingsResult> putNotificationSettingsAsync(PutNotificationSettingsRequest request, AsyncHandler<PutNotificationSettingsRequest,PutNotificationSettingsResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Attaches 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 AWSIAMRolesAnywhereAsync
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.public Future<ResetNotificationSettingsResult> resetNotificationSettingsAsync(ResetNotificationSettingsRequest request)
AWSIAMRolesAnywhereAsync
Resets the custom notification setting to IAM Roles Anywhere default setting.
Required permissions: rolesanywhere:ResetNotificationSettings
.
resetNotificationSettingsAsync
in interface AWSIAMRolesAnywhereAsync
public Future<ResetNotificationSettingsResult> resetNotificationSettingsAsync(ResetNotificationSettingsRequest request, AsyncHandler<ResetNotificationSettingsRequest,ResetNotificationSettingsResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Resets the custom notification setting to IAM Roles Anywhere default setting.
Required permissions: rolesanywhere:ResetNotificationSettings
.
resetNotificationSettingsAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSIAMRolesAnywhereAsync
Attaches tags to a resource.
Required permissions: rolesanywhere:TagResource
.
tagResourceAsync
in interface AWSIAMRolesAnywhereAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Attaches tags to a resource.
Required permissions: rolesanywhere:TagResource
.
tagResourceAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSIAMRolesAnywhereAsync
Removes tags from the resource.
Required permissions: rolesanywhere:UntagResource
.
untagResourceAsync
in interface AWSIAMRolesAnywhereAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Removes tags from the resource.
Required permissions: rolesanywhere:UntagResource
.
untagResourceAsync
in interface AWSIAMRolesAnywhereAsync
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.public Future<UpdateCrlResult> updateCrlAsync(UpdateCrlRequest request)
AWSIAMRolesAnywhereAsync
Updates 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 AWSIAMRolesAnywhereAsync
public Future<UpdateCrlResult> updateCrlAsync(UpdateCrlRequest request, AsyncHandler<UpdateCrlRequest,UpdateCrlResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Updates 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 AWSIAMRolesAnywhereAsync
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.public Future<UpdateProfileResult> updateProfileAsync(UpdateProfileRequest request)
AWSIAMRolesAnywhereAsync
Updates 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 AWSIAMRolesAnywhereAsync
public Future<UpdateProfileResult> updateProfileAsync(UpdateProfileRequest request, AsyncHandler<UpdateProfileRequest,UpdateProfileResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Updates 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 AWSIAMRolesAnywhereAsync
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.public Future<UpdateTrustAnchorResult> updateTrustAnchorAsync(UpdateTrustAnchorRequest request)
AWSIAMRolesAnywhereAsync
Updates 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 AWSIAMRolesAnywhereAsync
public Future<UpdateTrustAnchorResult> updateTrustAnchorAsync(UpdateTrustAnchorRequest request, AsyncHandler<UpdateTrustAnchorRequest,UpdateTrustAnchorResult> asyncHandler)
AWSIAMRolesAnywhereAsync
Updates 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 AWSIAMRolesAnywhereAsync
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.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSIAMRolesAnywhere
shutdown
in class AWSIAMRolesAnywhereClient