All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.iamrolesanywhere.AWSIAMRolesAnywhereAsync Maven / Gradle / Ivy

Go to download

The AWS Java SDK for IAM Roles Anywhere module holds the client classes that are used for communicating with IAM Roles Anywhere Service

There is a newer version: 1.12.772
Show newest version
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.iamrolesanywhere;

import javax.annotation.Generated;

import com.amazonaws.services.iamrolesanywhere.model.*;

/**
 * Interface for accessing IAM Roles Anywhere asynchronously. Each asynchronous method will return a Java Future object
 * representing the asynchronous operation; overloads which accept an {@code 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 * {@link com.amazonaws.services.iamrolesanywhere.AbstractAWSIAMRolesAnywhereAsync} instead. *

*

*

* 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. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSIAMRolesAnywhereAsync extends AWSIAMRolesAnywhere { /** *

* 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. *

* * @param createProfileRequest * @return A Java Future containing the result of the CreateProfile operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.CreateProfile * @see AWS * API Documentation */ java.util.concurrent.Future createProfileAsync(CreateProfileRequest createProfileRequest); /** *

* 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. *

* * @param createProfileRequest * @param 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. * @return A Java Future containing the result of the CreateProfile operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.CreateProfile * @see AWS * API Documentation */ java.util.concurrent.Future createProfileAsync(CreateProfileRequest createProfileRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param createTrustAnchorRequest * @return A Java Future containing the result of the CreateTrustAnchor operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.CreateTrustAnchor * @see AWS API Documentation */ java.util.concurrent.Future createTrustAnchorAsync(CreateTrustAnchorRequest createTrustAnchorRequest); /** *

* 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. *

* * @param createTrustAnchorRequest * @param 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. * @return A Java Future containing the result of the CreateTrustAnchor operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.CreateTrustAnchor * @see AWS API Documentation */ java.util.concurrent.Future createTrustAnchorAsync(CreateTrustAnchorRequest createTrustAnchorRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Delete an entry from the attribute mapping rules enforced by a given profile. *

* * @param deleteAttributeMappingRequest * @return A Java Future containing the result of the DeleteAttributeMapping operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.DeleteAttributeMapping * @see AWS API Documentation */ java.util.concurrent.Future deleteAttributeMappingAsync(DeleteAttributeMappingRequest deleteAttributeMappingRequest); /** *

* Delete an entry from the attribute mapping rules enforced by a given profile. *

* * @param deleteAttributeMappingRequest * @param 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. * @return A Java Future containing the result of the DeleteAttributeMapping operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.DeleteAttributeMapping * @see AWS API Documentation */ java.util.concurrent.Future deleteAttributeMappingAsync(DeleteAttributeMappingRequest deleteAttributeMappingRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes a certificate revocation list (CRL). *

*

* Required permissions: rolesanywhere:DeleteCrl. *

* * @param deleteCrlRequest * @return A Java Future containing the result of the DeleteCrl operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.DeleteCrl * @see AWS API * Documentation */ java.util.concurrent.Future deleteCrlAsync(DeleteCrlRequest deleteCrlRequest); /** *

* Deletes a certificate revocation list (CRL). *

*

* Required permissions: rolesanywhere:DeleteCrl. *

* * @param deleteCrlRequest * @param 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. * @return A Java Future containing the result of the DeleteCrl operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.DeleteCrl * @see AWS API * Documentation */ java.util.concurrent.Future deleteCrlAsync(DeleteCrlRequest deleteCrlRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes a profile. *

*

* Required permissions: rolesanywhere:DeleteProfile. *

* * @param deleteProfileRequest * @return A Java Future containing the result of the DeleteProfile operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.DeleteProfile * @see AWS * API Documentation */ java.util.concurrent.Future deleteProfileAsync(DeleteProfileRequest deleteProfileRequest); /** *

* Deletes a profile. *

*

* Required permissions: rolesanywhere:DeleteProfile. *

* * @param deleteProfileRequest * @param 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. * @return A Java Future containing the result of the DeleteProfile operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.DeleteProfile * @see AWS * API Documentation */ java.util.concurrent.Future deleteProfileAsync(DeleteProfileRequest deleteProfileRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes a trust anchor. *

*

* Required permissions: rolesanywhere:DeleteTrustAnchor. *

* * @param deleteTrustAnchorRequest * @return A Java Future containing the result of the DeleteTrustAnchor operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.DeleteTrustAnchor * @see AWS API Documentation */ java.util.concurrent.Future deleteTrustAnchorAsync(DeleteTrustAnchorRequest deleteTrustAnchorRequest); /** *

* Deletes a trust anchor. *

*

* Required permissions: rolesanywhere:DeleteTrustAnchor. *

* * @param deleteTrustAnchorRequest * @param 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. * @return A Java Future containing the result of the DeleteTrustAnchor operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.DeleteTrustAnchor * @see AWS API Documentation */ java.util.concurrent.Future deleteTrustAnchorAsync(DeleteTrustAnchorRequest deleteTrustAnchorRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Disables a certificate revocation list (CRL). *

*

* Required permissions: rolesanywhere:DisableCrl. *

* * @param disableCrlRequest * @return A Java Future containing the result of the DisableCrl operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.DisableCrl * @see AWS API * Documentation */ java.util.concurrent.Future disableCrlAsync(DisableCrlRequest disableCrlRequest); /** *

* Disables a certificate revocation list (CRL). *

*

* Required permissions: rolesanywhere:DisableCrl. *

* * @param disableCrlRequest * @param 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. * @return A Java Future containing the result of the DisableCrl operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.DisableCrl * @see AWS API * Documentation */ java.util.concurrent.Future disableCrlAsync(DisableCrlRequest disableCrlRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Disables a profile. When disabled, temporary credential requests with this profile fail. *

*

* Required permissions: rolesanywhere:DisableProfile. *

* * @param disableProfileRequest * @return A Java Future containing the result of the DisableProfile operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.DisableProfile * @see AWS * API Documentation */ java.util.concurrent.Future disableProfileAsync(DisableProfileRequest disableProfileRequest); /** *

* Disables a profile. When disabled, temporary credential requests with this profile fail. *

*

* Required permissions: rolesanywhere:DisableProfile. *

* * @param disableProfileRequest * @param 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. * @return A Java Future containing the result of the DisableProfile operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.DisableProfile * @see AWS * API Documentation */ java.util.concurrent.Future disableProfileAsync(DisableProfileRequest disableProfileRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Disables a trust anchor. When disabled, temporary credential requests specifying this trust anchor are * unauthorized. *

*

* Required permissions: rolesanywhere:DisableTrustAnchor. *

* * @param disableTrustAnchorRequest * @return A Java Future containing the result of the DisableTrustAnchor operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.DisableTrustAnchor * @see AWS API Documentation */ java.util.concurrent.Future disableTrustAnchorAsync(DisableTrustAnchorRequest disableTrustAnchorRequest); /** *

* Disables a trust anchor. When disabled, temporary credential requests specifying this trust anchor are * unauthorized. *

*

* Required permissions: rolesanywhere:DisableTrustAnchor. *

* * @param disableTrustAnchorRequest * @param 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. * @return A Java Future containing the result of the DisableTrustAnchor operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.DisableTrustAnchor * @see AWS API Documentation */ java.util.concurrent.Future disableTrustAnchorAsync(DisableTrustAnchorRequest disableTrustAnchorRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Enables a certificate revocation list (CRL). When enabled, certificates stored in the CRL are unauthorized to * receive session credentials. *

*

* Required permissions: rolesanywhere:EnableCrl. *

* * @param enableCrlRequest * @return A Java Future containing the result of the EnableCrl operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.EnableCrl * @see AWS API * Documentation */ java.util.concurrent.Future 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. *

* * @param enableCrlRequest * @param 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. * @return A Java Future containing the result of the EnableCrl operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.EnableCrl * @see AWS API * Documentation */ java.util.concurrent.Future enableCrlAsync(EnableCrlRequest enableCrlRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Enables temporary credential requests for a profile. *

*

* Required permissions: rolesanywhere:EnableProfile. *

* * @param enableProfileRequest * @return A Java Future containing the result of the EnableProfile operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.EnableProfile * @see AWS * API Documentation */ java.util.concurrent.Future enableProfileAsync(EnableProfileRequest enableProfileRequest); /** *

* Enables temporary credential requests for a profile. *

*

* Required permissions: rolesanywhere:EnableProfile. *

* * @param enableProfileRequest * @param 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. * @return A Java Future containing the result of the EnableProfile operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.EnableProfile * @see AWS * API Documentation */ java.util.concurrent.Future enableProfileAsync(EnableProfileRequest enableProfileRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Enables a trust anchor. When enabled, certificates in the trust anchor chain are authorized for trust validation. *

*

* Required permissions: rolesanywhere:EnableTrustAnchor. *

* * @param enableTrustAnchorRequest * @return A Java Future containing the result of the EnableTrustAnchor operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.EnableTrustAnchor * @see AWS API Documentation */ java.util.concurrent.Future enableTrustAnchorAsync(EnableTrustAnchorRequest enableTrustAnchorRequest); /** *

* Enables a trust anchor. When enabled, certificates in the trust anchor chain are authorized for trust validation. *

*

* Required permissions: rolesanywhere:EnableTrustAnchor. *

* * @param enableTrustAnchorRequest * @param 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. * @return A Java Future containing the result of the EnableTrustAnchor operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.EnableTrustAnchor * @see AWS API Documentation */ java.util.concurrent.Future enableTrustAnchorAsync(EnableTrustAnchorRequest enableTrustAnchorRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets a certificate revocation list (CRL). *

*

* Required permissions: rolesanywhere:GetCrl. *

* * @param getCrlRequest * @return A Java Future containing the result of the GetCrl operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.GetCrl * @see AWS API * Documentation */ java.util.concurrent.Future getCrlAsync(GetCrlRequest getCrlRequest); /** *

* Gets a certificate revocation list (CRL). *

*

* Required permissions: rolesanywhere:GetCrl. *

* * @param getCrlRequest * @param 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. * @return A Java Future containing the result of the GetCrl operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.GetCrl * @see AWS API * Documentation */ java.util.concurrent.Future getCrlAsync(GetCrlRequest getCrlRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets a profile. *

*

* Required permissions: rolesanywhere:GetProfile. *

* * @param getProfileRequest * @return A Java Future containing the result of the GetProfile operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.GetProfile * @see AWS API * Documentation */ java.util.concurrent.Future getProfileAsync(GetProfileRequest getProfileRequest); /** *

* Gets a profile. *

*

* Required permissions: rolesanywhere:GetProfile. *

* * @param getProfileRequest * @param 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. * @return A Java Future containing the result of the GetProfile operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.GetProfile * @see AWS API * Documentation */ java.util.concurrent.Future getProfileAsync(GetProfileRequest getProfileRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param getSubjectRequest * @return A Java Future containing the result of the GetSubject operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.GetSubject * @see AWS API * Documentation */ java.util.concurrent.Future getSubjectAsync(GetSubjectRequest getSubjectRequest); /** *

* 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. *

* * @param getSubjectRequest * @param 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. * @return A Java Future containing the result of the GetSubject operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.GetSubject * @see AWS API * Documentation */ java.util.concurrent.Future getSubjectAsync(GetSubjectRequest getSubjectRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets a trust anchor. *

*

* Required permissions: rolesanywhere:GetTrustAnchor. *

* * @param getTrustAnchorRequest * @return A Java Future containing the result of the GetTrustAnchor operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.GetTrustAnchor * @see AWS * API Documentation */ java.util.concurrent.Future getTrustAnchorAsync(GetTrustAnchorRequest getTrustAnchorRequest); /** *

* Gets a trust anchor. *

*

* Required permissions: rolesanywhere:GetTrustAnchor. *

* * @param getTrustAnchorRequest * @param 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. * @return A Java Future containing the result of the GetTrustAnchor operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.GetTrustAnchor * @see AWS * API Documentation */ java.util.concurrent.Future getTrustAnchorAsync(GetTrustAnchorRequest getTrustAnchorRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param importCrlRequest * @return A Java Future containing the result of the ImportCrl operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.ImportCrl * @see AWS API * Documentation */ java.util.concurrent.Future importCrlAsync(ImportCrlRequest importCrlRequest); /** *

* 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. *

* * @param importCrlRequest * @param 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. * @return A Java Future containing the result of the ImportCrl operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.ImportCrl * @see AWS API * Documentation */ java.util.concurrent.Future importCrlAsync(ImportCrlRequest importCrlRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists all certificate revocation lists (CRL) in the authenticated account and Amazon Web Services Region. *

*

* Required permissions: rolesanywhere:ListCrls. *

* * @param listCrlsRequest * @return A Java Future containing the result of the ListCrls operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.ListCrls * @see AWS API * Documentation */ java.util.concurrent.Future listCrlsAsync(ListCrlsRequest listCrlsRequest); /** *

* Lists all certificate revocation lists (CRL) in the authenticated account and Amazon Web Services Region. *

*

* Required permissions: rolesanywhere:ListCrls. *

* * @param listCrlsRequest * @param 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. * @return A Java Future containing the result of the ListCrls operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.ListCrls * @see AWS API * Documentation */ java.util.concurrent.Future listCrlsAsync(ListCrlsRequest listCrlsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists all profiles in the authenticated account and Amazon Web Services Region. *

*

* Required permissions: rolesanywhere:ListProfiles. *

* * @param listProfilesRequest * @return A Java Future containing the result of the ListProfiles operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.ListProfiles * @see AWS API * Documentation */ java.util.concurrent.Future listProfilesAsync(ListProfilesRequest listProfilesRequest); /** *

* Lists all profiles in the authenticated account and Amazon Web Services Region. *

*

* Required permissions: rolesanywhere:ListProfiles. *

* * @param listProfilesRequest * @param 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. * @return A Java Future containing the result of the ListProfiles operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.ListProfiles * @see AWS API * Documentation */ java.util.concurrent.Future listProfilesAsync(ListProfilesRequest listProfilesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the subjects in the authenticated account and Amazon Web Services Region. *

*

* Required permissions: rolesanywhere:ListSubjects. *

* * @param listSubjectsRequest * @return A Java Future containing the result of the ListSubjects operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.ListSubjects * @see AWS API * Documentation */ java.util.concurrent.Future listSubjectsAsync(ListSubjectsRequest listSubjectsRequest); /** *

* Lists the subjects in the authenticated account and Amazon Web Services Region. *

*

* Required permissions: rolesanywhere:ListSubjects. *

* * @param listSubjectsRequest * @param 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. * @return A Java Future containing the result of the ListSubjects operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.ListSubjects * @see AWS API * Documentation */ java.util.concurrent.Future listSubjectsAsync(ListSubjectsRequest listSubjectsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the tags attached to the resource. *

*

* Required permissions: rolesanywhere:ListTagsForResource. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest); /** *

* Lists the tags attached to the resource. *

*

* Required permissions: rolesanywhere:ListTagsForResource. *

* * @param listTagsForResourceRequest * @param 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. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the trust anchors in the authenticated account and Amazon Web Services Region. *

*

* Required permissions: rolesanywhere:ListTrustAnchors. *

* * @param listTrustAnchorsRequest * @return A Java Future containing the result of the ListTrustAnchors operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.ListTrustAnchors * @see AWS * API Documentation */ java.util.concurrent.Future listTrustAnchorsAsync(ListTrustAnchorsRequest listTrustAnchorsRequest); /** *

* Lists the trust anchors in the authenticated account and Amazon Web Services Region. *

*

* Required permissions: rolesanywhere:ListTrustAnchors. *

* * @param listTrustAnchorsRequest * @param 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. * @return A Java Future containing the result of the ListTrustAnchors operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.ListTrustAnchors * @see AWS * API Documentation */ java.util.concurrent.Future listTrustAnchorsAsync(ListTrustAnchorsRequest listTrustAnchorsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param putAttributeMappingRequest * @return A Java Future containing the result of the PutAttributeMapping operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.PutAttributeMapping * @see AWS API Documentation */ java.util.concurrent.Future putAttributeMappingAsync(PutAttributeMappingRequest putAttributeMappingRequest); /** *

* 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. *

* * @param putAttributeMappingRequest * @param 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. * @return A Java Future containing the result of the PutAttributeMapping operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.PutAttributeMapping * @see AWS API Documentation */ java.util.concurrent.Future putAttributeMappingAsync(PutAttributeMappingRequest putAttributeMappingRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param putNotificationSettingsRequest * @return A Java Future containing the result of the PutNotificationSettings operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.PutNotificationSettings * @see AWS API Documentation */ java.util.concurrent.Future putNotificationSettingsAsync(PutNotificationSettingsRequest putNotificationSettingsRequest); /** *

* 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. *

* * @param putNotificationSettingsRequest * @param 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. * @return A Java Future containing the result of the PutNotificationSettings operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.PutNotificationSettings * @see AWS API Documentation */ java.util.concurrent.Future putNotificationSettingsAsync(PutNotificationSettingsRequest putNotificationSettingsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Resets the custom notification setting to IAM Roles Anywhere default setting. *

*

* Required permissions: rolesanywhere:ResetNotificationSettings. *

* * @param resetNotificationSettingsRequest * @return A Java Future containing the result of the ResetNotificationSettings operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.ResetNotificationSettings * @see AWS API Documentation */ java.util.concurrent.Future resetNotificationSettingsAsync( ResetNotificationSettingsRequest resetNotificationSettingsRequest); /** *

* Resets the custom notification setting to IAM Roles Anywhere default setting. *

*

* Required permissions: rolesanywhere:ResetNotificationSettings. *

* * @param resetNotificationSettingsRequest * @param 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. * @return A Java Future containing the result of the ResetNotificationSettings operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.ResetNotificationSettings * @see AWS API Documentation */ java.util.concurrent.Future resetNotificationSettingsAsync( ResetNotificationSettingsRequest resetNotificationSettingsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Attaches tags to a resource. *

*

* Required permissions: rolesanywhere:TagResource. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest); /** *

* Attaches tags to a resource. *

*

* Required permissions: rolesanywhere:TagResource. *

* * @param tagResourceRequest * @param 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. * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes tags from the resource. *

*

* Required permissions: rolesanywhere:UntagResource. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.UntagResource * @see AWS * API Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest); /** *

* Removes tags from the resource. *

*

* Required permissions: rolesanywhere:UntagResource. *

* * @param untagResourceRequest * @param 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. * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.UntagResource * @see AWS * API Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param updateCrlRequest * @return A Java Future containing the result of the UpdateCrl operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.UpdateCrl * @see AWS API * Documentation */ java.util.concurrent.Future updateCrlAsync(UpdateCrlRequest updateCrlRequest); /** *

* 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. *

* * @param updateCrlRequest * @param 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. * @return A Java Future containing the result of the UpdateCrl operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.UpdateCrl * @see AWS API * Documentation */ java.util.concurrent.Future updateCrlAsync(UpdateCrlRequest updateCrlRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param updateProfileRequest * @return A Java Future containing the result of the UpdateProfile operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.UpdateProfile * @see AWS * API Documentation */ java.util.concurrent.Future updateProfileAsync(UpdateProfileRequest updateProfileRequest); /** *

* 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. *

* * @param updateProfileRequest * @param 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. * @return A Java Future containing the result of the UpdateProfile operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.UpdateProfile * @see AWS * API Documentation */ java.util.concurrent.Future updateProfileAsync(UpdateProfileRequest updateProfileRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param updateTrustAnchorRequest * @return A Java Future containing the result of the UpdateTrustAnchor operation returned by the service. * @sample AWSIAMRolesAnywhereAsync.UpdateTrustAnchor * @see AWS API Documentation */ java.util.concurrent.Future updateTrustAnchorAsync(UpdateTrustAnchorRequest updateTrustAnchorRequest); /** *

* 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. *

* * @param updateTrustAnchorRequest * @param 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. * @return A Java Future containing the result of the UpdateTrustAnchor operation returned by the service. * @sample AWSIAMRolesAnywhereAsyncHandler.UpdateTrustAnchor * @see AWS API Documentation */ java.util.concurrent.Future updateTrustAnchorAsync(UpdateTrustAnchorRequest updateTrustAnchorRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy