/*
* Copyright 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.
*/
/*
* Do not modify this file. This file is generated from the rolesanywhere-2018-05-10.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.IAMRolesAnywhere.Model;
namespace Amazon.IAMRolesAnywhere
{
///
/// Interface for accessing IAMRolesAnywhere
///
/// 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.
///
///
public partial interface IAmazonIAMRolesAnywhere : IAmazonService, IDisposable
{
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IIAMRolesAnywherePaginatorFactory Paginators { get; }
#endif
#region CreateProfile
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the CreateProfile service method.
///
/// The response from the CreateProfile service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// Validation exception error.
///
/// REST API Reference for CreateProfile Operation
CreateProfileResponse CreateProfile(CreateProfileRequest request);
///
/// Initiates the asynchronous execution of the CreateProfile operation.
///
///
/// Container for the necessary parameters to execute the CreateProfile operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateProfile
/// operation.
/// REST API Reference for CreateProfile Operation
IAsyncResult BeginCreateProfile(CreateProfileRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreateProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateProfile.
///
/// Returns a CreateProfileResult from IAMRolesAnywhere.
/// REST API Reference for CreateProfile Operation
CreateProfileResponse EndCreateProfile(IAsyncResult asyncResult);
#endregion
#region CreateTrustAnchor
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the CreateTrustAnchor service method.
///
/// The response from the CreateTrustAnchor service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// Validation exception error.
///
/// REST API Reference for CreateTrustAnchor Operation
CreateTrustAnchorResponse CreateTrustAnchor(CreateTrustAnchorRequest request);
///
/// Initiates the asynchronous execution of the CreateTrustAnchor operation.
///
///
/// Container for the necessary parameters to execute the CreateTrustAnchor operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateTrustAnchor
/// operation.
/// REST API Reference for CreateTrustAnchor Operation
IAsyncResult BeginCreateTrustAnchor(CreateTrustAnchorRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreateTrustAnchor operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateTrustAnchor.
///
/// Returns a CreateTrustAnchorResult from IAMRolesAnywhere.
/// REST API Reference for CreateTrustAnchor Operation
CreateTrustAnchorResponse EndCreateTrustAnchor(IAsyncResult asyncResult);
#endregion
#region DeleteCrl
///
/// Deletes a certificate revocation list (CRL).
///
///
///
/// Required permissions: rolesanywhere:DeleteCrl
.
///
///
/// Container for the necessary parameters to execute the DeleteCrl service method.
///
/// The response from the DeleteCrl service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
/// REST API Reference for DeleteCrl Operation
DeleteCrlResponse DeleteCrl(DeleteCrlRequest request);
///
/// Initiates the asynchronous execution of the DeleteCrl operation.
///
///
/// Container for the necessary parameters to execute the DeleteCrl operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteCrl
/// operation.
/// REST API Reference for DeleteCrl Operation
IAsyncResult BeginDeleteCrl(DeleteCrlRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteCrl operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteCrl.
///
/// Returns a DeleteCrlResult from IAMRolesAnywhere.
/// REST API Reference for DeleteCrl Operation
DeleteCrlResponse EndDeleteCrl(IAsyncResult asyncResult);
#endregion
#region DeleteProfile
///
/// Deletes a profile.
///
///
///
/// Required permissions: rolesanywhere:DeleteProfile
.
///
///
/// Container for the necessary parameters to execute the DeleteProfile service method.
///
/// The response from the DeleteProfile service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
/// REST API Reference for DeleteProfile Operation
DeleteProfileResponse DeleteProfile(DeleteProfileRequest request);
///
/// Initiates the asynchronous execution of the DeleteProfile operation.
///
///
/// Container for the necessary parameters to execute the DeleteProfile operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteProfile
/// operation.
/// REST API Reference for DeleteProfile Operation
IAsyncResult BeginDeleteProfile(DeleteProfileRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteProfile.
///
/// Returns a DeleteProfileResult from IAMRolesAnywhere.
/// REST API Reference for DeleteProfile Operation
DeleteProfileResponse EndDeleteProfile(IAsyncResult asyncResult);
#endregion
#region DeleteTrustAnchor
///
/// Deletes a trust anchor.
///
///
///
/// Required permissions: rolesanywhere:DeleteTrustAnchor
.
///
///
/// Container for the necessary parameters to execute the DeleteTrustAnchor service method.
///
/// The response from the DeleteTrustAnchor service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
/// REST API Reference for DeleteTrustAnchor Operation
DeleteTrustAnchorResponse DeleteTrustAnchor(DeleteTrustAnchorRequest request);
///
/// Initiates the asynchronous execution of the DeleteTrustAnchor operation.
///
///
/// Container for the necessary parameters to execute the DeleteTrustAnchor operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteTrustAnchor
/// operation.
/// REST API Reference for DeleteTrustAnchor Operation
IAsyncResult BeginDeleteTrustAnchor(DeleteTrustAnchorRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteTrustAnchor operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteTrustAnchor.
///
/// Returns a DeleteTrustAnchorResult from IAMRolesAnywhere.
/// REST API Reference for DeleteTrustAnchor Operation
DeleteTrustAnchorResponse EndDeleteTrustAnchor(IAsyncResult asyncResult);
#endregion
#region DisableCrl
///
/// Disables a certificate revocation list (CRL).
///
///
///
/// Required permissions: rolesanywhere:DisableCrl
.
///
///
/// Container for the necessary parameters to execute the DisableCrl service method.
///
/// The response from the DisableCrl service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
/// REST API Reference for DisableCrl Operation
DisableCrlResponse DisableCrl(DisableCrlRequest request);
///
/// Initiates the asynchronous execution of the DisableCrl operation.
///
///
/// Container for the necessary parameters to execute the DisableCrl operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisableCrl
/// operation.
/// REST API Reference for DisableCrl Operation
IAsyncResult BeginDisableCrl(DisableCrlRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DisableCrl operation.
///
///
/// The IAsyncResult returned by the call to BeginDisableCrl.
///
/// Returns a DisableCrlResult from IAMRolesAnywhere.
/// REST API Reference for DisableCrl Operation
DisableCrlResponse EndDisableCrl(IAsyncResult asyncResult);
#endregion
#region DisableProfile
///
/// Disables a profile. When disabled, temporary credential requests with this profile
/// fail.
///
///
///
/// Required permissions: rolesanywhere:DisableProfile
.
///
///
/// Container for the necessary parameters to execute the DisableProfile service method.
///
/// The response from the DisableProfile service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
/// REST API Reference for DisableProfile Operation
DisableProfileResponse DisableProfile(DisableProfileRequest request);
///
/// Initiates the asynchronous execution of the DisableProfile operation.
///
///
/// Container for the necessary parameters to execute the DisableProfile operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisableProfile
/// operation.
/// REST API Reference for DisableProfile Operation
IAsyncResult BeginDisableProfile(DisableProfileRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DisableProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginDisableProfile.
///
/// Returns a DisableProfileResult from IAMRolesAnywhere.
/// REST API Reference for DisableProfile Operation
DisableProfileResponse EndDisableProfile(IAsyncResult asyncResult);
#endregion
#region DisableTrustAnchor
///
/// Disables a trust anchor. When disabled, temporary credential requests specifying this
/// trust anchor are unauthorized.
///
///
///
/// Required permissions: rolesanywhere:DisableTrustAnchor
.
///
///
/// Container for the necessary parameters to execute the DisableTrustAnchor service method.
///
/// The response from the DisableTrustAnchor service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
/// REST API Reference for DisableTrustAnchor Operation
DisableTrustAnchorResponse DisableTrustAnchor(DisableTrustAnchorRequest request);
///
/// Initiates the asynchronous execution of the DisableTrustAnchor operation.
///
///
/// Container for the necessary parameters to execute the DisableTrustAnchor operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisableTrustAnchor
/// operation.
/// REST API Reference for DisableTrustAnchor Operation
IAsyncResult BeginDisableTrustAnchor(DisableTrustAnchorRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DisableTrustAnchor operation.
///
///
/// The IAsyncResult returned by the call to BeginDisableTrustAnchor.
///
/// Returns a DisableTrustAnchorResult from IAMRolesAnywhere.
/// REST API Reference for DisableTrustAnchor Operation
DisableTrustAnchorResponse EndDisableTrustAnchor(IAsyncResult asyncResult);
#endregion
#region EnableCrl
///
/// Enables a certificate revocation list (CRL). When enabled, certificates stored in
/// the CRL are unauthorized to receive session credentials.
///
///
///
/// Required permissions: rolesanywhere:EnableCrl
.
///
///
/// Container for the necessary parameters to execute the EnableCrl service method.
///
/// The response from the EnableCrl service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
/// REST API Reference for EnableCrl Operation
EnableCrlResponse EnableCrl(EnableCrlRequest request);
///
/// Initiates the asynchronous execution of the EnableCrl operation.
///
///
/// Container for the necessary parameters to execute the EnableCrl operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEnableCrl
/// operation.
/// REST API Reference for EnableCrl Operation
IAsyncResult BeginEnableCrl(EnableCrlRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the EnableCrl operation.
///
///
/// The IAsyncResult returned by the call to BeginEnableCrl.
///
/// Returns a EnableCrlResult from IAMRolesAnywhere.
/// REST API Reference for EnableCrl Operation
EnableCrlResponse EndEnableCrl(IAsyncResult asyncResult);
#endregion
#region EnableProfile
///
/// Enables temporary credential requests for a profile.
///
///
///
/// Required permissions: rolesanywhere:EnableProfile
.
///
///
/// Container for the necessary parameters to execute the EnableProfile service method.
///
/// The response from the EnableProfile service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
/// REST API Reference for EnableProfile Operation
EnableProfileResponse EnableProfile(EnableProfileRequest request);
///
/// Initiates the asynchronous execution of the EnableProfile operation.
///
///
/// Container for the necessary parameters to execute the EnableProfile operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEnableProfile
/// operation.
/// REST API Reference for EnableProfile Operation
IAsyncResult BeginEnableProfile(EnableProfileRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the EnableProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginEnableProfile.
///
/// Returns a EnableProfileResult from IAMRolesAnywhere.
/// REST API Reference for EnableProfile Operation
EnableProfileResponse EndEnableProfile(IAsyncResult asyncResult);
#endregion
#region EnableTrustAnchor
///
/// Enables a trust anchor. When enabled, certificates in the trust anchor chain are authorized
/// for trust validation.
///
///
///
/// Required permissions: rolesanywhere:EnableTrustAnchor
.
///
///
/// Container for the necessary parameters to execute the EnableTrustAnchor service method.
///
/// The response from the EnableTrustAnchor service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
/// REST API Reference for EnableTrustAnchor Operation
EnableTrustAnchorResponse EnableTrustAnchor(EnableTrustAnchorRequest request);
///
/// Initiates the asynchronous execution of the EnableTrustAnchor operation.
///
///
/// Container for the necessary parameters to execute the EnableTrustAnchor operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEnableTrustAnchor
/// operation.
/// REST API Reference for EnableTrustAnchor Operation
IAsyncResult BeginEnableTrustAnchor(EnableTrustAnchorRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the EnableTrustAnchor operation.
///
///
/// The IAsyncResult returned by the call to BeginEnableTrustAnchor.
///
/// Returns a EnableTrustAnchorResult from IAMRolesAnywhere.
/// REST API Reference for EnableTrustAnchor Operation
EnableTrustAnchorResponse EndEnableTrustAnchor(IAsyncResult asyncResult);
#endregion
#region GetCrl
///
/// Gets a certificate revocation list (CRL).
///
///
///
/// Required permissions: rolesanywhere:GetCrl
.
///
///
/// Container for the necessary parameters to execute the GetCrl service method.
///
/// The response from the GetCrl service method, as returned by IAMRolesAnywhere.
///
/// The resource could not be found.
///
/// REST API Reference for GetCrl Operation
GetCrlResponse GetCrl(GetCrlRequest request);
///
/// Initiates the asynchronous execution of the GetCrl operation.
///
///
/// Container for the necessary parameters to execute the GetCrl operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCrl
/// operation.
/// REST API Reference for GetCrl Operation
IAsyncResult BeginGetCrl(GetCrlRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetCrl operation.
///
///
/// The IAsyncResult returned by the call to BeginGetCrl.
///
/// Returns a GetCrlResult from IAMRolesAnywhere.
/// REST API Reference for GetCrl Operation
GetCrlResponse EndGetCrl(IAsyncResult asyncResult);
#endregion
#region GetProfile
///
/// Gets a profile.
///
///
///
/// Required permissions: rolesanywhere:GetProfile
.
///
///
/// Container for the necessary parameters to execute the GetProfile service method.
///
/// The response from the GetProfile service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
/// REST API Reference for GetProfile Operation
GetProfileResponse GetProfile(GetProfileRequest request);
///
/// Initiates the asynchronous execution of the GetProfile operation.
///
///
/// Container for the necessary parameters to execute the GetProfile operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetProfile
/// operation.
/// REST API Reference for GetProfile Operation
IAsyncResult BeginGetProfile(GetProfileRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginGetProfile.
///
/// Returns a GetProfileResult from IAMRolesAnywhere.
/// REST API Reference for GetProfile Operation
GetProfileResponse EndGetProfile(IAsyncResult asyncResult);
#endregion
#region GetSubject
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the GetSubject service method.
///
/// The response from the GetSubject service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
/// REST API Reference for GetSubject Operation
GetSubjectResponse GetSubject(GetSubjectRequest request);
///
/// Initiates the asynchronous execution of the GetSubject operation.
///
///
/// Container for the necessary parameters to execute the GetSubject operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSubject
/// operation.
/// REST API Reference for GetSubject Operation
IAsyncResult BeginGetSubject(GetSubjectRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetSubject operation.
///
///
/// The IAsyncResult returned by the call to BeginGetSubject.
///
/// Returns a GetSubjectResult from IAMRolesAnywhere.
/// REST API Reference for GetSubject Operation
GetSubjectResponse EndGetSubject(IAsyncResult asyncResult);
#endregion
#region GetTrustAnchor
///
/// Gets a trust anchor.
///
///
///
/// Required permissions: rolesanywhere:GetTrustAnchor
.
///
///
/// Container for the necessary parameters to execute the GetTrustAnchor service method.
///
/// The response from the GetTrustAnchor service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
///
/// Validation exception error.
///
/// REST API Reference for GetTrustAnchor Operation
GetTrustAnchorResponse GetTrustAnchor(GetTrustAnchorRequest request);
///
/// Initiates the asynchronous execution of the GetTrustAnchor operation.
///
///
/// Container for the necessary parameters to execute the GetTrustAnchor operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetTrustAnchor
/// operation.
/// REST API Reference for GetTrustAnchor Operation
IAsyncResult BeginGetTrustAnchor(GetTrustAnchorRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetTrustAnchor operation.
///
///
/// The IAsyncResult returned by the call to BeginGetTrustAnchor.
///
/// Returns a GetTrustAnchorResult from IAMRolesAnywhere.
/// REST API Reference for GetTrustAnchor Operation
GetTrustAnchorResponse EndGetTrustAnchor(IAsyncResult asyncResult);
#endregion
#region ImportCrl
///
/// Imports 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:ImportCrl
.
///
///
/// Container for the necessary parameters to execute the ImportCrl service method.
///
/// The response from the ImportCrl service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// Validation exception error.
///
/// REST API Reference for ImportCrl Operation
ImportCrlResponse ImportCrl(ImportCrlRequest request);
///
/// Initiates the asynchronous execution of the ImportCrl operation.
///
///
/// Container for the necessary parameters to execute the ImportCrl operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndImportCrl
/// operation.
/// REST API Reference for ImportCrl Operation
IAsyncResult BeginImportCrl(ImportCrlRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ImportCrl operation.
///
///
/// The IAsyncResult returned by the call to BeginImportCrl.
///
/// Returns a ImportCrlResult from IAMRolesAnywhere.
/// REST API Reference for ImportCrl Operation
ImportCrlResponse EndImportCrl(IAsyncResult asyncResult);
#endregion
#region ListCrls
///
/// Lists all certificate revocation lists (CRL) in the authenticated account and Amazon
/// Web Services Region.
///
///
///
/// Required permissions: rolesanywhere:ListCrls
.
///
///
/// Container for the necessary parameters to execute the ListCrls service method.
///
/// The response from the ListCrls service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// Validation exception error.
///
/// REST API Reference for ListCrls Operation
ListCrlsResponse ListCrls(ListCrlsRequest request);
///
/// Initiates the asynchronous execution of the ListCrls operation.
///
///
/// Container for the necessary parameters to execute the ListCrls operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCrls
/// operation.
/// REST API Reference for ListCrls Operation
IAsyncResult BeginListCrls(ListCrlsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListCrls operation.
///
///
/// The IAsyncResult returned by the call to BeginListCrls.
///
/// Returns a ListCrlsResult from IAMRolesAnywhere.
/// REST API Reference for ListCrls Operation
ListCrlsResponse EndListCrls(IAsyncResult asyncResult);
#endregion
#region ListProfiles
///
/// Lists all profiles in the authenticated account and Amazon Web Services Region.
///
///
///
/// Required permissions: rolesanywhere:ListProfiles
.
///
///
/// Container for the necessary parameters to execute the ListProfiles service method.
///
/// The response from the ListProfiles service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// Validation exception error.
///
/// REST API Reference for ListProfiles Operation
ListProfilesResponse ListProfiles(ListProfilesRequest request);
///
/// Initiates the asynchronous execution of the ListProfiles operation.
///
///
/// Container for the necessary parameters to execute the ListProfiles operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListProfiles
/// operation.
/// REST API Reference for ListProfiles Operation
IAsyncResult BeginListProfiles(ListProfilesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListProfiles operation.
///
///
/// The IAsyncResult returned by the call to BeginListProfiles.
///
/// Returns a ListProfilesResult from IAMRolesAnywhere.
/// REST API Reference for ListProfiles Operation
ListProfilesResponse EndListProfiles(IAsyncResult asyncResult);
#endregion
#region ListSubjects
///
/// Lists the subjects in the authenticated account and Amazon Web Services Region.
///
///
///
/// Required permissions: rolesanywhere:ListSubjects
.
///
///
/// Container for the necessary parameters to execute the ListSubjects service method.
///
/// The response from the ListSubjects service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// Validation exception error.
///
/// REST API Reference for ListSubjects Operation
ListSubjectsResponse ListSubjects(ListSubjectsRequest request);
///
/// Initiates the asynchronous execution of the ListSubjects operation.
///
///
/// Container for the necessary parameters to execute the ListSubjects operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSubjects
/// operation.
/// REST API Reference for ListSubjects Operation
IAsyncResult BeginListSubjects(ListSubjectsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListSubjects operation.
///
///
/// The IAsyncResult returned by the call to BeginListSubjects.
///
/// Returns a ListSubjectsResult from IAMRolesAnywhere.
/// REST API Reference for ListSubjects Operation
ListSubjectsResponse EndListSubjects(IAsyncResult asyncResult);
#endregion
#region ListTagsForResource
///
/// Lists the tags attached to the resource.
///
///
///
/// Required permissions: rolesanywhere:ListTagsForResource
.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
///
/// Validation exception error.
///
/// REST API Reference for ListTagsForResource Operation
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from IAMRolesAnywhere.
/// REST API Reference for ListTagsForResource Operation
ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult);
#endregion
#region ListTrustAnchors
///
/// Lists the trust anchors in the authenticated account and Amazon Web Services Region.
///
///
///
/// Required permissions: rolesanywhere:ListTrustAnchors
.
///
///
/// Container for the necessary parameters to execute the ListTrustAnchors service method.
///
/// The response from the ListTrustAnchors service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// Validation exception error.
///
/// REST API Reference for ListTrustAnchors Operation
ListTrustAnchorsResponse ListTrustAnchors(ListTrustAnchorsRequest request);
///
/// Initiates the asynchronous execution of the ListTrustAnchors operation.
///
///
/// Container for the necessary parameters to execute the ListTrustAnchors operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTrustAnchors
/// operation.
/// REST API Reference for ListTrustAnchors Operation
IAsyncResult BeginListTrustAnchors(ListTrustAnchorsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListTrustAnchors operation.
///
///
/// The IAsyncResult returned by the call to BeginListTrustAnchors.
///
/// Returns a ListTrustAnchorsResult from IAMRolesAnywhere.
/// REST API Reference for ListTrustAnchors Operation
ListTrustAnchorsResponse EndListTrustAnchors(IAsyncResult asyncResult);
#endregion
#region PutNotificationSettings
///
/// 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
.
///
///
///
/// Container for the necessary parameters to execute the PutNotificationSettings service method.
///
/// The response from the PutNotificationSettings service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
///
/// Validation exception error.
///
/// REST API Reference for PutNotificationSettings Operation
PutNotificationSettingsResponse PutNotificationSettings(PutNotificationSettingsRequest request);
///
/// Initiates the asynchronous execution of the PutNotificationSettings operation.
///
///
/// Container for the necessary parameters to execute the PutNotificationSettings operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutNotificationSettings
/// operation.
/// REST API Reference for PutNotificationSettings Operation
IAsyncResult BeginPutNotificationSettings(PutNotificationSettingsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the PutNotificationSettings operation.
///
///
/// The IAsyncResult returned by the call to BeginPutNotificationSettings.
///
/// Returns a PutNotificationSettingsResult from IAMRolesAnywhere.
/// REST API Reference for PutNotificationSettings Operation
PutNotificationSettingsResponse EndPutNotificationSettings(IAsyncResult asyncResult);
#endregion
#region ResetNotificationSettings
///
/// Resets the custom notification setting to IAM Roles Anywhere default setting.
///
///
///
///
/// Required permissions: rolesanywhere:ResetNotificationSettings
.
///
///
///
/// Container for the necessary parameters to execute the ResetNotificationSettings service method.
///
/// The response from the ResetNotificationSettings service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
///
/// Validation exception error.
///
/// REST API Reference for ResetNotificationSettings Operation
ResetNotificationSettingsResponse ResetNotificationSettings(ResetNotificationSettingsRequest request);
///
/// Initiates the asynchronous execution of the ResetNotificationSettings operation.
///
///
/// Container for the necessary parameters to execute the ResetNotificationSettings operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndResetNotificationSettings
/// operation.
/// REST API Reference for ResetNotificationSettings Operation
IAsyncResult BeginResetNotificationSettings(ResetNotificationSettingsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ResetNotificationSettings operation.
///
///
/// The IAsyncResult returned by the call to BeginResetNotificationSettings.
///
/// Returns a ResetNotificationSettingsResult from IAMRolesAnywhere.
/// REST API Reference for ResetNotificationSettings Operation
ResetNotificationSettingsResponse EndResetNotificationSettings(IAsyncResult asyncResult);
#endregion
#region TagResource
///
/// Attaches tags to a resource.
///
///
///
/// Required permissions: rolesanywhere:TagResource
.
///
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
///
/// Too many tags.
///
///
/// Validation exception error.
///
/// REST API Reference for TagResource Operation
TagResourceResponse TagResource(TagResourceRequest request);
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from IAMRolesAnywhere.
/// REST API Reference for TagResource Operation
TagResourceResponse EndTagResource(IAsyncResult asyncResult);
#endregion
#region UntagResource
///
/// Removes tags from the resource.
///
///
///
/// Required permissions: rolesanywhere:UntagResource
.
///
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
///
/// Validation exception error.
///
/// REST API Reference for UntagResource Operation
UntagResourceResponse UntagResource(UntagResourceRequest request);
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from IAMRolesAnywhere.
/// REST API Reference for UntagResource Operation
UntagResourceResponse EndUntagResource(IAsyncResult asyncResult);
#endregion
#region UpdateCrl
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the UpdateCrl service method.
///
/// The response from the UpdateCrl service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
///
/// Validation exception error.
///
/// REST API Reference for UpdateCrl Operation
UpdateCrlResponse UpdateCrl(UpdateCrlRequest request);
///
/// Initiates the asynchronous execution of the UpdateCrl operation.
///
///
/// Container for the necessary parameters to execute the UpdateCrl operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateCrl
/// operation.
/// REST API Reference for UpdateCrl Operation
IAsyncResult BeginUpdateCrl(UpdateCrlRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdateCrl operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateCrl.
///
/// Returns a UpdateCrlResult from IAMRolesAnywhere.
/// REST API Reference for UpdateCrl Operation
UpdateCrlResponse EndUpdateCrl(IAsyncResult asyncResult);
#endregion
#region UpdateProfile
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the UpdateProfile service method.
///
/// The response from the UpdateProfile service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
///
/// Validation exception error.
///
/// REST API Reference for UpdateProfile Operation
UpdateProfileResponse UpdateProfile(UpdateProfileRequest request);
///
/// Initiates the asynchronous execution of the UpdateProfile operation.
///
///
/// Container for the necessary parameters to execute the UpdateProfile operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateProfile
/// operation.
/// REST API Reference for UpdateProfile Operation
IAsyncResult BeginUpdateProfile(UpdateProfileRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdateProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateProfile.
///
/// Returns a UpdateProfileResult from IAMRolesAnywhere.
/// REST API Reference for UpdateProfile Operation
UpdateProfileResponse EndUpdateProfile(IAsyncResult asyncResult);
#endregion
#region UpdateTrustAnchor
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the UpdateTrustAnchor service method.
///
/// The response from the UpdateTrustAnchor service method, as returned by IAMRolesAnywhere.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource could not be found.
///
///
/// Validation exception error.
///
/// REST API Reference for UpdateTrustAnchor Operation
UpdateTrustAnchorResponse UpdateTrustAnchor(UpdateTrustAnchorRequest request);
///
/// Initiates the asynchronous execution of the UpdateTrustAnchor operation.
///
///
/// Container for the necessary parameters to execute the UpdateTrustAnchor operation on AmazonIAMRolesAnywhereClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateTrustAnchor
/// operation.
/// REST API Reference for UpdateTrustAnchor Operation
IAsyncResult BeginUpdateTrustAnchor(UpdateTrustAnchorRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdateTrustAnchor operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateTrustAnchor.
///
/// Returns a UpdateTrustAnchorResult from IAMRolesAnywhere.
/// REST API Reference for UpdateTrustAnchor Operation
UpdateTrustAnchorResponse EndUpdateTrustAnchor(IAsyncResult asyncResult);
#endregion
}
}