@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface RolesAnywhereAsyncClient extends SdkClient
builder() method.
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/
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static RolesAnywhereAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
RolesAnywhereAsyncClient. |
static RolesAnywhereAsyncClient |
create()
Create a
RolesAnywhereAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<CreateProfileResponse> |
createProfile(Consumer<CreateProfileRequest.Builder> createProfileRequest)
Creates a profile.
|
default CompletableFuture<CreateProfileResponse> |
createProfile(CreateProfileRequest createProfileRequest)
Creates a profile.
|
default CompletableFuture<CreateTrustAnchorResponse> |
createTrustAnchor(Consumer<CreateTrustAnchorRequest.Builder> createTrustAnchorRequest)
Creates a trust anchor.
|
default CompletableFuture<CreateTrustAnchorResponse> |
createTrustAnchor(CreateTrustAnchorRequest createTrustAnchorRequest)
Creates a trust anchor.
|
default CompletableFuture<DeleteCrlResponse> |
deleteCrl(Consumer<DeleteCrlRequest.Builder> deleteCrlRequest)
Deletes a certificate revocation list (CRL).
|
default CompletableFuture<DeleteCrlResponse> |
deleteCrl(DeleteCrlRequest deleteCrlRequest)
Deletes a certificate revocation list (CRL).
|
default CompletableFuture<DeleteProfileResponse> |
deleteProfile(Consumer<DeleteProfileRequest.Builder> deleteProfileRequest)
Deletes a profile.
|
default CompletableFuture<DeleteProfileResponse> |
deleteProfile(DeleteProfileRequest deleteProfileRequest)
Deletes a profile.
|
default CompletableFuture<DeleteTrustAnchorResponse> |
deleteTrustAnchor(Consumer<DeleteTrustAnchorRequest.Builder> deleteTrustAnchorRequest)
Deletes a trust anchor.
|
default CompletableFuture<DeleteTrustAnchorResponse> |
deleteTrustAnchor(DeleteTrustAnchorRequest deleteTrustAnchorRequest)
Deletes a trust anchor.
|
default CompletableFuture<DisableCrlResponse> |
disableCrl(Consumer<DisableCrlRequest.Builder> disableCrlRequest)
Disables a certificate revocation list (CRL).
|
default CompletableFuture<DisableCrlResponse> |
disableCrl(DisableCrlRequest disableCrlRequest)
Disables a certificate revocation list (CRL).
|
default CompletableFuture<DisableProfileResponse> |
disableProfile(Consumer<DisableProfileRequest.Builder> disableProfileRequest)
Disables a profile.
|
default CompletableFuture<DisableProfileResponse> |
disableProfile(DisableProfileRequest disableProfileRequest)
Disables a profile.
|
default CompletableFuture<DisableTrustAnchorResponse> |
disableTrustAnchor(Consumer<DisableTrustAnchorRequest.Builder> disableTrustAnchorRequest)
Disables a trust anchor.
|
default CompletableFuture<DisableTrustAnchorResponse> |
disableTrustAnchor(DisableTrustAnchorRequest disableTrustAnchorRequest)
Disables a trust anchor.
|
default CompletableFuture<EnableCrlResponse> |
enableCrl(Consumer<EnableCrlRequest.Builder> enableCrlRequest)
Enables a certificate revocation list (CRL).
|
default CompletableFuture<EnableCrlResponse> |
enableCrl(EnableCrlRequest enableCrlRequest)
Enables a certificate revocation list (CRL).
|
default CompletableFuture<EnableProfileResponse> |
enableProfile(Consumer<EnableProfileRequest.Builder> enableProfileRequest)
Enables the roles in a profile to receive session credentials in CreateSession.
|
default CompletableFuture<EnableProfileResponse> |
enableProfile(EnableProfileRequest enableProfileRequest)
Enables the roles in a profile to receive session credentials in CreateSession.
|
default CompletableFuture<EnableTrustAnchorResponse> |
enableTrustAnchor(Consumer<EnableTrustAnchorRequest.Builder> enableTrustAnchorRequest)
Enables a trust anchor.
|
default CompletableFuture<EnableTrustAnchorResponse> |
enableTrustAnchor(EnableTrustAnchorRequest enableTrustAnchorRequest)
Enables a trust anchor.
|
default CompletableFuture<GetCrlResponse> |
getCrl(Consumer<GetCrlRequest.Builder> getCrlRequest)
Gets a certificate revocation list (CRL).
|
default CompletableFuture<GetCrlResponse> |
getCrl(GetCrlRequest getCrlRequest)
Gets a certificate revocation list (CRL).
|
default CompletableFuture<GetProfileResponse> |
getProfile(Consumer<GetProfileRequest.Builder> getProfileRequest)
Gets a profile.
|
default CompletableFuture<GetProfileResponse> |
getProfile(GetProfileRequest getProfileRequest)
Gets a profile.
|
default CompletableFuture<GetSubjectResponse> |
getSubject(Consumer<GetSubjectRequest.Builder> getSubjectRequest)
Gets a Subject.
|
default CompletableFuture<GetSubjectResponse> |
getSubject(GetSubjectRequest getSubjectRequest)
Gets a Subject.
|
default CompletableFuture<GetTrustAnchorResponse> |
getTrustAnchor(Consumer<GetTrustAnchorRequest.Builder> getTrustAnchorRequest)
Gets a trust anchor.
|
default CompletableFuture<GetTrustAnchorResponse> |
getTrustAnchor(GetTrustAnchorRequest getTrustAnchorRequest)
Gets a trust anchor.
|
default CompletableFuture<ImportCrlResponse> |
importCrl(Consumer<ImportCrlRequest.Builder> importCrlRequest)
Imports the certificate revocation list (CRL).
|
default CompletableFuture<ImportCrlResponse> |
importCrl(ImportCrlRequest importCrlRequest)
Imports the certificate revocation list (CRL).
|
default CompletableFuture<ListCrlsResponse> |
listCrls(Consumer<ListCrlsRequest.Builder> listCrlsRequest)
Lists all Crls in the authenticated account and Amazon Web Services Region.
|
default CompletableFuture<ListCrlsResponse> |
listCrls(ListCrlsRequest listCrlsRequest)
Lists all Crls in the authenticated account and Amazon Web Services Region.
|
default ListCrlsPublisher |
listCrlsPaginator(Consumer<ListCrlsRequest.Builder> listCrlsRequest)
Lists all Crls in the authenticated account and Amazon Web Services Region.
|
default ListCrlsPublisher |
listCrlsPaginator(ListCrlsRequest listCrlsRequest)
Lists all Crls in the authenticated account and Amazon Web Services Region.
|
default CompletableFuture<ListProfilesResponse> |
listProfiles(Consumer<ListProfilesRequest.Builder> listProfilesRequest)
Lists all profiles in the authenticated account and Amazon Web Services Region.
|
default CompletableFuture<ListProfilesResponse> |
listProfiles(ListProfilesRequest listProfilesRequest)
Lists all profiles in the authenticated account and Amazon Web Services Region.
|
default ListProfilesPublisher |
listProfilesPaginator(Consumer<ListProfilesRequest.Builder> listProfilesRequest)
Lists all profiles in the authenticated account and Amazon Web Services Region.
|
default ListProfilesPublisher |
listProfilesPaginator(ListProfilesRequest listProfilesRequest)
Lists all profiles in the authenticated account and Amazon Web Services Region.
|
default CompletableFuture<ListSubjectsResponse> |
listSubjects(Consumer<ListSubjectsRequest.Builder> listSubjectsRequest)
Lists the subjects in the authenticated account and Amazon Web Services Region.
|
default CompletableFuture<ListSubjectsResponse> |
listSubjects(ListSubjectsRequest listSubjectsRequest)
Lists the subjects in the authenticated account and Amazon Web Services Region.
|
default ListSubjectsPublisher |
listSubjectsPaginator(Consumer<ListSubjectsRequest.Builder> listSubjectsRequest)
Lists the subjects in the authenticated account and Amazon Web Services Region.
|
default ListSubjectsPublisher |
listSubjectsPaginator(ListSubjectsRequest listSubjectsRequest)
Lists the subjects in the authenticated account and Amazon Web Services Region.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags attached to the resource.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags attached to the resource.
|
default CompletableFuture<ListTrustAnchorsResponse> |
listTrustAnchors(Consumer<ListTrustAnchorsRequest.Builder> listTrustAnchorsRequest)
Lists the trust anchors in the authenticated account and Amazon Web Services Region.
|
default CompletableFuture<ListTrustAnchorsResponse> |
listTrustAnchors(ListTrustAnchorsRequest listTrustAnchorsRequest)
Lists the trust anchors in the authenticated account and Amazon Web Services Region.
|
default ListTrustAnchorsPublisher |
listTrustAnchorsPaginator(Consumer<ListTrustAnchorsRequest.Builder> listTrustAnchorsRequest)
Lists the trust anchors in the authenticated account and Amazon Web Services Region.
|
default ListTrustAnchorsPublisher |
listTrustAnchorsPaginator(ListTrustAnchorsRequest listTrustAnchorsRequest)
Lists the trust anchors in the authenticated account and Amazon Web Services Region.
|
default CompletableFuture<TagResourceResponse> |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Attaches tags to a resource.
|
default CompletableFuture<TagResourceResponse> |
tagResource(TagResourceRequest tagResourceRequest)
Attaches tags to a resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from the resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from the resource.
|
default CompletableFuture<UpdateCrlResponse> |
updateCrl(Consumer<UpdateCrlRequest.Builder> updateCrlRequest)
Updates the certificate revocation list (CRL).
|
default CompletableFuture<UpdateCrlResponse> |
updateCrl(UpdateCrlRequest updateCrlRequest)
Updates the certificate revocation list (CRL).
|
default CompletableFuture<UpdateProfileResponse> |
updateProfile(Consumer<UpdateProfileRequest.Builder> updateProfileRequest)
Updates the profile.
|
default CompletableFuture<UpdateProfileResponse> |
updateProfile(UpdateProfileRequest updateProfileRequest)
Updates the profile.
|
default CompletableFuture<UpdateTrustAnchorResponse> |
updateTrustAnchor(Consumer<UpdateTrustAnchorRequest.Builder> updateTrustAnchorRequest)
Updates the trust anchor.You establish trust between IAM Roles Anywhere and your certificate authority (CA) by
configuring a trust anchor.
|
default CompletableFuture<UpdateTrustAnchorResponse> |
updateTrustAnchor(UpdateTrustAnchorRequest updateTrustAnchorRequest)
Updates the trust anchor.You establish trust between IAM Roles Anywhere and your certificate authority (CA) by
configuring a trust anchor.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static RolesAnywhereAsyncClient create()
RolesAnywhereAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static RolesAnywhereAsyncClientBuilder builder()
RolesAnywhereAsyncClient.default CompletableFuture<CreateProfileResponse> createProfile(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 - default CompletableFuture<CreateProfileResponse> createProfile(Consumer<CreateProfileRequest.Builder> 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.
This is a convenience which creates an instance of the CreateProfileRequest.Builder avoiding the need to
create one manually via CreateProfileRequest.builder()
createProfileRequest - A Consumer that will call methods on CreateProfileRequest.Builder to create a request.default CompletableFuture<CreateTrustAnchorResponse> createTrustAnchor(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 - default CompletableFuture<CreateTrustAnchorResponse> createTrustAnchor(Consumer<CreateTrustAnchorRequest.Builder> 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.
This is a convenience which creates an instance of the CreateTrustAnchorRequest.Builder avoiding the need
to create one manually via CreateTrustAnchorRequest.builder()
createTrustAnchorRequest - A Consumer that will call methods on CreateTrustAnchorRequest.Builder to create a request.default CompletableFuture<DeleteCrlResponse> deleteCrl(DeleteCrlRequest deleteCrlRequest)
Deletes a certificate revocation list (CRL).
Required permissions: rolesanywhere:DeleteCrl.
deleteCrlRequest - default CompletableFuture<DeleteCrlResponse> deleteCrl(Consumer<DeleteCrlRequest.Builder> deleteCrlRequest)
Deletes a certificate revocation list (CRL).
Required permissions: rolesanywhere:DeleteCrl.
This is a convenience which creates an instance of the DeleteCrlRequest.Builder avoiding the need to
create one manually via DeleteCrlRequest.builder()
deleteCrlRequest - A Consumer that will call methods on ScalarCrlRequest.Builder to create a request.default CompletableFuture<DeleteProfileResponse> deleteProfile(DeleteProfileRequest deleteProfileRequest)
Deletes a profile.
Required permissions: rolesanywhere:DeleteProfile.
deleteProfileRequest - default CompletableFuture<DeleteProfileResponse> deleteProfile(Consumer<DeleteProfileRequest.Builder> deleteProfileRequest)
Deletes a profile.
Required permissions: rolesanywhere:DeleteProfile.
This is a convenience which creates an instance of the DeleteProfileRequest.Builder avoiding the need to
create one manually via DeleteProfileRequest.builder()
deleteProfileRequest - A Consumer that will call methods on ScalarProfileRequest.Builder to create a request.default CompletableFuture<DeleteTrustAnchorResponse> deleteTrustAnchor(DeleteTrustAnchorRequest deleteTrustAnchorRequest)
Deletes a trust anchor.
Required permissions: rolesanywhere:DeleteTrustAnchor.
deleteTrustAnchorRequest - default CompletableFuture<DeleteTrustAnchorResponse> deleteTrustAnchor(Consumer<DeleteTrustAnchorRequest.Builder> deleteTrustAnchorRequest)
Deletes a trust anchor.
Required permissions: rolesanywhere:DeleteTrustAnchor.
This is a convenience which creates an instance of the DeleteTrustAnchorRequest.Builder avoiding the need
to create one manually via DeleteTrustAnchorRequest.builder()
deleteTrustAnchorRequest - A Consumer that will call methods on ScalarTrustAnchorRequest.Builder to create a request.default CompletableFuture<DisableCrlResponse> disableCrl(DisableCrlRequest disableCrlRequest)
Disables a certificate revocation list (CRL).
Required permissions: rolesanywhere:DisableCrl.
disableCrlRequest - default CompletableFuture<DisableCrlResponse> disableCrl(Consumer<DisableCrlRequest.Builder> disableCrlRequest)
Disables a certificate revocation list (CRL).
Required permissions: rolesanywhere:DisableCrl.
This is a convenience which creates an instance of the DisableCrlRequest.Builder avoiding the need to
create one manually via DisableCrlRequest.builder()
disableCrlRequest - A Consumer that will call methods on ScalarCrlRequest.Builder to create a request.default CompletableFuture<DisableProfileResponse> disableProfile(DisableProfileRequest disableProfileRequest)
Disables a profile. When disabled, CreateSession requests with this profile fail.
Required permissions: rolesanywhere:DisableProfile.
disableProfileRequest - default CompletableFuture<DisableProfileResponse> disableProfile(Consumer<DisableProfileRequest.Builder> disableProfileRequest)
Disables a profile. When disabled, CreateSession requests with this profile fail.
Required permissions: rolesanywhere:DisableProfile.
This is a convenience which creates an instance of the DisableProfileRequest.Builder avoiding the need to
create one manually via DisableProfileRequest.builder()
disableProfileRequest - A Consumer that will call methods on ScalarProfileRequest.Builder to create a request.default CompletableFuture<DisableTrustAnchorResponse> disableTrustAnchor(DisableTrustAnchorRequest disableTrustAnchorRequest)
Disables a trust anchor. When disabled, CreateSession requests specifying this trust anchor are unauthorized.
Required permissions: rolesanywhere:DisableTrustAnchor.
disableTrustAnchorRequest - default CompletableFuture<DisableTrustAnchorResponse> disableTrustAnchor(Consumer<DisableTrustAnchorRequest.Builder> disableTrustAnchorRequest)
Disables a trust anchor. When disabled, CreateSession requests specifying this trust anchor are unauthorized.
Required permissions: rolesanywhere:DisableTrustAnchor.
This is a convenience which creates an instance of the DisableTrustAnchorRequest.Builder avoiding the
need to create one manually via DisableTrustAnchorRequest.builder()
disableTrustAnchorRequest - A Consumer that will call methods on ScalarTrustAnchorRequest.Builder to create a request.default CompletableFuture<EnableCrlResponse> enableCrl(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 - default CompletableFuture<EnableCrlResponse> enableCrl(Consumer<EnableCrlRequest.Builder> enableCrlRequest)
Enables a certificate revocation list (CRL). When enabled, certificates stored in the CRL are unauthorized to receive session credentials.
Required permissions: rolesanywhere:EnableCrl.
This is a convenience which creates an instance of the EnableCrlRequest.Builder avoiding the need to
create one manually via EnableCrlRequest.builder()
enableCrlRequest - A Consumer that will call methods on ScalarCrlRequest.Builder to create a request.default CompletableFuture<EnableProfileResponse> enableProfile(EnableProfileRequest enableProfileRequest)
Enables the roles in a profile to receive session credentials in CreateSession.
Required permissions: rolesanywhere:EnableProfile.
enableProfileRequest - default CompletableFuture<EnableProfileResponse> enableProfile(Consumer<EnableProfileRequest.Builder> enableProfileRequest)
Enables the roles in a profile to receive session credentials in CreateSession.
Required permissions: rolesanywhere:EnableProfile.
This is a convenience which creates an instance of the EnableProfileRequest.Builder avoiding the need to
create one manually via EnableProfileRequest.builder()
enableProfileRequest - A Consumer that will call methods on ScalarProfileRequest.Builder to create a request.default CompletableFuture<EnableTrustAnchorResponse> enableTrustAnchor(EnableTrustAnchorRequest enableTrustAnchorRequest)
Enables a trust anchor. When enabled, certificates in the trust anchor chain are authorized for trust validation.
Required permissions: rolesanywhere:EnableTrustAnchor.
enableTrustAnchorRequest - default CompletableFuture<EnableTrustAnchorResponse> enableTrustAnchor(Consumer<EnableTrustAnchorRequest.Builder> enableTrustAnchorRequest)
Enables a trust anchor. When enabled, certificates in the trust anchor chain are authorized for trust validation.
Required permissions: rolesanywhere:EnableTrustAnchor.
This is a convenience which creates an instance of the EnableTrustAnchorRequest.Builder avoiding the need
to create one manually via EnableTrustAnchorRequest.builder()
enableTrustAnchorRequest - A Consumer that will call methods on ScalarTrustAnchorRequest.Builder to create a request.default CompletableFuture<GetCrlResponse> getCrl(GetCrlRequest getCrlRequest)
Gets a certificate revocation list (CRL).
Required permissions: rolesanywhere:GetCrl.
getCrlRequest - default CompletableFuture<GetCrlResponse> getCrl(Consumer<GetCrlRequest.Builder> getCrlRequest)
Gets a certificate revocation list (CRL).
Required permissions: rolesanywhere:GetCrl.
This is a convenience which creates an instance of the GetCrlRequest.Builder avoiding the need to create
one manually via GetCrlRequest.builder()
getCrlRequest - A Consumer that will call methods on ScalarCrlRequest.Builder to create a request.default CompletableFuture<GetProfileResponse> getProfile(GetProfileRequest getProfileRequest)
Gets a profile.
Required permissions: rolesanywhere:GetProfile.
getProfileRequest - default CompletableFuture<GetProfileResponse> getProfile(Consumer<GetProfileRequest.Builder> getProfileRequest)
Gets a profile.
Required permissions: rolesanywhere:GetProfile.
This is a convenience which creates an instance of the GetProfileRequest.Builder avoiding the need to
create one manually via GetProfileRequest.builder()
getProfileRequest - A Consumer that will call methods on ScalarProfileRequest.Builder to create a request.default CompletableFuture<GetSubjectResponse> getSubject(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 - default CompletableFuture<GetSubjectResponse> getSubject(Consumer<GetSubjectRequest.Builder> 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.
This is a convenience which creates an instance of the GetSubjectRequest.Builder avoiding the need to
create one manually via GetSubjectRequest.builder()
getSubjectRequest - A Consumer that will call methods on ScalarSubjectRequest.Builder to create a request.default CompletableFuture<GetTrustAnchorResponse> getTrustAnchor(GetTrustAnchorRequest getTrustAnchorRequest)
Gets a trust anchor.
Required permissions: rolesanywhere:GetTrustAnchor.
getTrustAnchorRequest - default CompletableFuture<GetTrustAnchorResponse> getTrustAnchor(Consumer<GetTrustAnchorRequest.Builder> getTrustAnchorRequest)
Gets a trust anchor.
Required permissions: rolesanywhere:GetTrustAnchor.
This is a convenience which creates an instance of the GetTrustAnchorRequest.Builder avoiding the need to
create one manually via GetTrustAnchorRequest.builder()
getTrustAnchorRequest - A Consumer that will call methods on ScalarTrustAnchorRequest.Builder to create a request.default CompletableFuture<ImportCrlResponse> importCrl(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 - default CompletableFuture<ImportCrlResponse> importCrl(Consumer<ImportCrlRequest.Builder> 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.
This is a convenience which creates an instance of the ImportCrlRequest.Builder avoiding the need to
create one manually via ImportCrlRequest.builder()
importCrlRequest - A Consumer that will call methods on ImportCrlRequest.Builder to create a request.default CompletableFuture<ListCrlsResponse> listCrls(ListCrlsRequest listCrlsRequest)
Lists all Crls in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListCrls.
listCrlsRequest - default CompletableFuture<ListCrlsResponse> listCrls(Consumer<ListCrlsRequest.Builder> listCrlsRequest)
Lists all Crls in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListCrls.
This is a convenience which creates an instance of the ListCrlsRequest.Builder avoiding the need to
create one manually via ListCrlsRequest.builder()
listCrlsRequest - A Consumer that will call methods on ListRequest.Builder to create a request.default ListCrlsPublisher listCrlsPaginator(ListCrlsRequest listCrlsRequest)
Lists all Crls in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListCrls.
This is a variant of listCrls(software.amazon.awssdk.services.rolesanywhere.model.ListCrlsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.rolesanywhere.paginators.ListCrlsPublisher publisher = client.listCrlsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.rolesanywhere.paginators.ListCrlsPublisher publisher = client.listCrlsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.rolesanywhere.model.ListCrlsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.rolesanywhere.model.ListCrlsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCrls(software.amazon.awssdk.services.rolesanywhere.model.ListCrlsRequest) operation.
listCrlsRequest - default ListCrlsPublisher listCrlsPaginator(Consumer<ListCrlsRequest.Builder> listCrlsRequest)
Lists all Crls in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListCrls.
This is a variant of listCrls(software.amazon.awssdk.services.rolesanywhere.model.ListCrlsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.rolesanywhere.paginators.ListCrlsPublisher publisher = client.listCrlsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.rolesanywhere.paginators.ListCrlsPublisher publisher = client.listCrlsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.rolesanywhere.model.ListCrlsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.rolesanywhere.model.ListCrlsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCrls(software.amazon.awssdk.services.rolesanywhere.model.ListCrlsRequest) operation.
This is a convenience which creates an instance of the ListCrlsRequest.Builder avoiding the need to
create one manually via ListCrlsRequest.builder()
listCrlsRequest - A Consumer that will call methods on ListRequest.Builder to create a request.default CompletableFuture<ListProfilesResponse> listProfiles(ListProfilesRequest listProfilesRequest)
Lists all profiles in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListProfiles.
listProfilesRequest - default CompletableFuture<ListProfilesResponse> listProfiles(Consumer<ListProfilesRequest.Builder> listProfilesRequest)
Lists all profiles in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListProfiles.
This is a convenience which creates an instance of the ListProfilesRequest.Builder avoiding the need to
create one manually via ListProfilesRequest.builder()
listProfilesRequest - A Consumer that will call methods on ListRequest.Builder to create a request.default ListProfilesPublisher listProfilesPaginator(ListProfilesRequest listProfilesRequest)
Lists all profiles in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListProfiles.
This is a variant of
listProfiles(software.amazon.awssdk.services.rolesanywhere.model.ListProfilesRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.rolesanywhere.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.rolesanywhere.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.rolesanywhere.model.ListProfilesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.rolesanywhere.model.ListProfilesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProfiles(software.amazon.awssdk.services.rolesanywhere.model.ListProfilesRequest) operation.
listProfilesRequest - default ListProfilesPublisher listProfilesPaginator(Consumer<ListProfilesRequest.Builder> listProfilesRequest)
Lists all profiles in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListProfiles.
This is a variant of
listProfiles(software.amazon.awssdk.services.rolesanywhere.model.ListProfilesRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.rolesanywhere.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.rolesanywhere.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.rolesanywhere.model.ListProfilesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.rolesanywhere.model.ListProfilesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProfiles(software.amazon.awssdk.services.rolesanywhere.model.ListProfilesRequest) operation.
This is a convenience which creates an instance of the ListProfilesRequest.Builder avoiding the need to
create one manually via ListProfilesRequest.builder()
listProfilesRequest - A Consumer that will call methods on ListRequest.Builder to create a request.default CompletableFuture<ListSubjectsResponse> listSubjects(ListSubjectsRequest listSubjectsRequest)
Lists the subjects in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListSubjects.
listSubjectsRequest - default CompletableFuture<ListSubjectsResponse> listSubjects(Consumer<ListSubjectsRequest.Builder> listSubjectsRequest)
Lists the subjects in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListSubjects.
This is a convenience which creates an instance of the ListSubjectsRequest.Builder avoiding the need to
create one manually via ListSubjectsRequest.builder()
listSubjectsRequest - A Consumer that will call methods on ListRequest.Builder to create a request.default ListSubjectsPublisher listSubjectsPaginator(ListSubjectsRequest listSubjectsRequest)
Lists the subjects in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListSubjects.
This is a variant of
listSubjects(software.amazon.awssdk.services.rolesanywhere.model.ListSubjectsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.rolesanywhere.paginators.ListSubjectsPublisher publisher = client.listSubjectsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.rolesanywhere.paginators.ListSubjectsPublisher publisher = client.listSubjectsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.rolesanywhere.model.ListSubjectsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.rolesanywhere.model.ListSubjectsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSubjects(software.amazon.awssdk.services.rolesanywhere.model.ListSubjectsRequest) operation.
listSubjectsRequest - default ListSubjectsPublisher listSubjectsPaginator(Consumer<ListSubjectsRequest.Builder> listSubjectsRequest)
Lists the subjects in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListSubjects.
This is a variant of
listSubjects(software.amazon.awssdk.services.rolesanywhere.model.ListSubjectsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.rolesanywhere.paginators.ListSubjectsPublisher publisher = client.listSubjectsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.rolesanywhere.paginators.ListSubjectsPublisher publisher = client.listSubjectsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.rolesanywhere.model.ListSubjectsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.rolesanywhere.model.ListSubjectsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSubjects(software.amazon.awssdk.services.rolesanywhere.model.ListSubjectsRequest) operation.
This is a convenience which creates an instance of the ListSubjectsRequest.Builder avoiding the need to
create one manually via ListSubjectsRequest.builder()
listSubjectsRequest - A Consumer that will call methods on ListRequest.Builder to create a request.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags attached to the resource.
Required permissions: rolesanywhere:ListTagsForResource.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags attached to the resource.
Required permissions: rolesanywhere:ListTagsForResource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.default CompletableFuture<ListTrustAnchorsResponse> listTrustAnchors(ListTrustAnchorsRequest listTrustAnchorsRequest)
Lists the trust anchors in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListTrustAnchors.
listTrustAnchorsRequest - default CompletableFuture<ListTrustAnchorsResponse> listTrustAnchors(Consumer<ListTrustAnchorsRequest.Builder> listTrustAnchorsRequest)
Lists the trust anchors in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListTrustAnchors.
This is a convenience which creates an instance of the ListTrustAnchorsRequest.Builder avoiding the need
to create one manually via ListTrustAnchorsRequest.builder()
listTrustAnchorsRequest - A Consumer that will call methods on ListRequest.Builder to create a request.default ListTrustAnchorsPublisher listTrustAnchorsPaginator(ListTrustAnchorsRequest listTrustAnchorsRequest)
Lists the trust anchors in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListTrustAnchors.
This is a variant of
listTrustAnchors(software.amazon.awssdk.services.rolesanywhere.model.ListTrustAnchorsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.rolesanywhere.paginators.ListTrustAnchorsPublisher publisher = client.listTrustAnchorsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.rolesanywhere.paginators.ListTrustAnchorsPublisher publisher = client.listTrustAnchorsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.rolesanywhere.model.ListTrustAnchorsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.rolesanywhere.model.ListTrustAnchorsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTrustAnchors(software.amazon.awssdk.services.rolesanywhere.model.ListTrustAnchorsRequest)
operation.
listTrustAnchorsRequest - default ListTrustAnchorsPublisher listTrustAnchorsPaginator(Consumer<ListTrustAnchorsRequest.Builder> listTrustAnchorsRequest)
Lists the trust anchors in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListTrustAnchors.
This is a variant of
listTrustAnchors(software.amazon.awssdk.services.rolesanywhere.model.ListTrustAnchorsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.rolesanywhere.paginators.ListTrustAnchorsPublisher publisher = client.listTrustAnchorsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.rolesanywhere.paginators.ListTrustAnchorsPublisher publisher = client.listTrustAnchorsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.rolesanywhere.model.ListTrustAnchorsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.rolesanywhere.model.ListTrustAnchorsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTrustAnchors(software.amazon.awssdk.services.rolesanywhere.model.ListTrustAnchorsRequest)
operation.
This is a convenience which creates an instance of the ListTrustAnchorsRequest.Builder avoiding the need
to create one manually via ListTrustAnchorsRequest.builder()
listTrustAnchorsRequest - A Consumer that will call methods on ListRequest.Builder to create a request.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Attaches tags to a resource.
Required permissions: rolesanywhere:TagResource.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Attaches tags to a resource.
Required permissions: rolesanywhere:TagResource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from the resource.
Required permissions: rolesanywhere:UntagResource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from the resource.
Required permissions: rolesanywhere:UntagResource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.default CompletableFuture<UpdateCrlResponse> updateCrl(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 - default CompletableFuture<UpdateCrlResponse> updateCrl(Consumer<UpdateCrlRequest.Builder> 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.
This is a convenience which creates an instance of the UpdateCrlRequest.Builder avoiding the need to
create one manually via UpdateCrlRequest.builder()
updateCrlRequest - A Consumer that will call methods on UpdateCrlRequest.Builder to create a request.default CompletableFuture<UpdateProfileResponse> updateProfile(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 - default CompletableFuture<UpdateProfileResponse> updateProfile(Consumer<UpdateProfileRequest.Builder> 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.
This is a convenience which creates an instance of the UpdateProfileRequest.Builder avoiding the need to
create one manually via UpdateProfileRequest.builder()
updateProfileRequest - A Consumer that will call methods on UpdateProfileRequest.Builder to create a request.default CompletableFuture<UpdateTrustAnchorResponse> updateTrustAnchor(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 - default CompletableFuture<UpdateTrustAnchorResponse> updateTrustAnchor(Consumer<UpdateTrustAnchorRequest.Builder> 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.
This is a convenience which creates an instance of the UpdateTrustAnchorRequest.Builder avoiding the need
to create one manually via UpdateTrustAnchorRequest.builder()
updateTrustAnchorRequest - A Consumer that will call methods on UpdateTrustAnchorRequest.Builder to create a request.Copyright © 2023. All rights reserved.