/* * Copyright 2010-2014 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 iam-2010-05-08.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.IdentityManagement.Model; using Amazon.IdentityManagement.Model.Internal.MarshallTransformations; using Amazon.IdentityManagement.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.IdentityManagement { /// /// Implementation for accessing IdentityManagementService /// /// AWS Identity and Access Management /// /// AWS Identity and Access Management (IAM) is a web service that you can use to manage /// users and user permissions under your AWS account. This guide provides descriptions /// of IAM actions that you can call programmatically. For general information about IAM, /// see AWS Identity and Access Management (IAM). /// For the user guide for IAM, see Using /// IAM. /// /// /// /// AWS provides SDKs that consist of libraries and sample code for various programming /// languages and platforms (Java, Ruby, .NET, iOS, Android, etc.). The SDKs provide a /// convenient way to create programmatic access to IAM and AWS. For example, the SDKs /// take care of tasks such as cryptographically signing requests (see below), managing /// errors, and retrying requests automatically. For information about the AWS SDKs, including /// how to download and install them, see the Tools /// for Amazon Web Services page. /// /// /// /// We recommend that you use the AWS SDKs to make programmatic API calls to IAM. However, /// you can also use the IAM Query API to make direct calls to the IAM web service. To /// learn more about the IAM Query API, see Making /// Query Requests in the Using IAM guide. IAM supports GET and POST requests /// for all actions. That is, the API does not require you to use GET for some actions /// and POST for others. However, GET requests are subject to the limitation size of a /// URL. Therefore, for operations that require larger sizes, use a POST request. /// /// /// /// Signing Requests /// /// /// /// Requests must be signed using an access key ID and a secret access key. We strongly /// recommend that you do not use your AWS account access key ID and secret access key /// for everyday work with IAM. You can use the access key ID and secret access key for /// an IAM user or you can use the AWS Security Token Service to generate temporary security /// credentials and use those to sign requests. /// /// /// /// To sign requests, we recommend that you use Signature /// Version 4. If you have an existing application that uses Signature Version 2, /// you do not have to update it to use Signature Version 4. However, some operations /// now require Signature Version 4. The documentation for operations that require version /// 4 indicate this requirement. /// /// /// /// Additional Resources /// /// /// /// For more information, see the following: /// /// /// public partial class AmazonIdentityManagementServiceClient : AmazonServiceClient, IAmazonIdentityManagementService { private static IServiceMetadata serviceMetadata = new AmazonIdentityManagementServiceMetadata(); #region Constructors /// /// Constructs AmazonIdentityManagementServiceClient with AWS Credentials /// /// AWS Credentials public AmazonIdentityManagementServiceClient(AWSCredentials credentials) : this(credentials, new AmazonIdentityManagementServiceConfig()) { } /// /// Constructs AmazonIdentityManagementServiceClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonIdentityManagementServiceClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonIdentityManagementServiceConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIdentityManagementServiceClient with AWS Credentials and an /// AmazonIdentityManagementServiceClient Configuration object. /// /// AWS Credentials /// The AmazonIdentityManagementServiceClient Configuration Object public AmazonIdentityManagementServiceClient(AWSCredentials credentials, AmazonIdentityManagementServiceConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonIdentityManagementServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonIdentityManagementServiceClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonIdentityManagementServiceConfig()) { } /// /// Constructs AmazonIdentityManagementServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonIdentityManagementServiceClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonIdentityManagementServiceConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonIdentityManagementServiceClient with AWS Access Key ID, AWS Secret Key and an /// AmazonIdentityManagementServiceClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonIdentityManagementServiceClient Configuration Object public AmazonIdentityManagementServiceClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonIdentityManagementServiceConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonIdentityManagementServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonIdentityManagementServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIdentityManagementServiceConfig()) { } /// /// Constructs AmazonIdentityManagementServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonIdentityManagementServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIdentityManagementServiceConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIdentityManagementServiceClient with AWS Access Key ID, AWS Secret Key and an /// AmazonIdentityManagementServiceClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonIdentityManagementServiceClient Configuration Object public AmazonIdentityManagementServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonIdentityManagementServiceConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region AddClientIDToOpenIDConnectProvider /// /// Initiates the asynchronous execution of the AddClientIDToOpenIDConnectProvider operation. /// /// /// Container for the necessary parameters to execute the AddClientIDToOpenIDConnectProvider operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for AddClientIDToOpenIDConnectProvider Operation public virtual void AddClientIDToOpenIDConnectProviderAsync(AddClientIDToOpenIDConnectProviderRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = AddClientIDToOpenIDConnectProviderRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = AddClientIDToOpenIDConnectProviderResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((AddClientIDToOpenIDConnectProviderRequest)req, (AddClientIDToOpenIDConnectProviderResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region AddRoleToInstanceProfile /// /// Initiates the asynchronous execution of the AddRoleToInstanceProfile operation. /// /// /// Container for the necessary parameters to execute the AddRoleToInstanceProfile operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for AddRoleToInstanceProfile Operation public virtual void AddRoleToInstanceProfileAsync(AddRoleToInstanceProfileRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = AddRoleToInstanceProfileRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = AddRoleToInstanceProfileResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((AddRoleToInstanceProfileRequest)req, (AddRoleToInstanceProfileResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region AddUserToGroup /// /// Initiates the asynchronous execution of the AddUserToGroup operation. /// /// /// Container for the necessary parameters to execute the AddUserToGroup operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for AddUserToGroup Operation public virtual void AddUserToGroupAsync(AddUserToGroupRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = AddUserToGroupRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = AddUserToGroupResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((AddUserToGroupRequest)req, (AddUserToGroupResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region AttachGroupPolicy /// /// Initiates the asynchronous execution of the AttachGroupPolicy operation. /// /// /// Container for the necessary parameters to execute the AttachGroupPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for AttachGroupPolicy Operation public virtual void AttachGroupPolicyAsync(AttachGroupPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = AttachGroupPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = AttachGroupPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((AttachGroupPolicyRequest)req, (AttachGroupPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region AttachRolePolicy /// /// Initiates the asynchronous execution of the AttachRolePolicy operation. /// /// /// Container for the necessary parameters to execute the AttachRolePolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for AttachRolePolicy Operation public virtual void AttachRolePolicyAsync(AttachRolePolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = AttachRolePolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = AttachRolePolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((AttachRolePolicyRequest)req, (AttachRolePolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region AttachUserPolicy /// /// Initiates the asynchronous execution of the AttachUserPolicy operation. /// /// /// Container for the necessary parameters to execute the AttachUserPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for AttachUserPolicy Operation public virtual void AttachUserPolicyAsync(AttachUserPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = AttachUserPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = AttachUserPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((AttachUserPolicyRequest)req, (AttachUserPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ChangePassword /// /// Initiates the asynchronous execution of the ChangePassword operation. /// /// /// Container for the necessary parameters to execute the ChangePassword operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ChangePassword Operation public virtual void ChangePasswordAsync(ChangePasswordRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ChangePasswordRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ChangePasswordResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ChangePasswordRequest)req, (ChangePasswordResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreateAccessKey /// /// Creates a new AWS secret access key and corresponding AWS access key ID for the specified /// user. The default status for new keys is Active. /// /// /// /// If you do not specify a user name, IAM determines the user name implicitly based on /// the AWS access key ID signing the request. This operation works for access keys under /// the AWS account. Consequently, you can use this operation to manage AWS account root /// user credentials. This is true even if the AWS account has no associated users. /// /// /// /// For information about limits on the number of keys you can create, see Limitations /// on IAM Entities in the IAM User Guide. /// /// /// /// To ensure the security of your AWS account, the secret access key is accessible only /// during key and user creation. You must save the key (for example, in a text file) /// if you want to be able to access it again. If a secret key is lost, you can delete /// the access keys for the associated user and then create new keys. /// /// /// /// An Action 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. /// /// /// The response from the CreateAccessKey service method, as returned by IdentityManagementService. /// /// The request was rejected because it attempted to create resources beyond the current /// AWS account limits. The error message describes the limit exceeded. /// /// /// The request was rejected because it referenced a resource entity that does not exist. /// The error message describes the resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for CreateAccessKey Operation public virtual void CreateAccessKeyAsync(AmazonServiceCallback callback, AsyncOptions options = null) { CreateAccessKeyAsync(new CreateAccessKeyRequest(), callback, options); } /// /// Initiates the asynchronous execution of the CreateAccessKey operation. /// /// /// Container for the necessary parameters to execute the CreateAccessKey operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for CreateAccessKey Operation public virtual void CreateAccessKeyAsync(CreateAccessKeyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreateAccessKeyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreateAccessKeyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreateAccessKeyRequest)req, (CreateAccessKeyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreateAccountAlias /// /// Initiates the asynchronous execution of the CreateAccountAlias operation. /// /// /// Container for the necessary parameters to execute the CreateAccountAlias operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for CreateAccountAlias Operation public virtual void CreateAccountAliasAsync(CreateAccountAliasRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreateAccountAliasRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreateAccountAliasResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreateAccountAliasRequest)req, (CreateAccountAliasResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreateGroup /// /// Initiates the asynchronous execution of the CreateGroup operation. /// /// /// Container for the necessary parameters to execute the CreateGroup operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for CreateGroup Operation public virtual void CreateGroupAsync(CreateGroupRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreateGroupRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreateGroupResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreateGroupRequest)req, (CreateGroupResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreateInstanceProfile /// /// Initiates the asynchronous execution of the CreateInstanceProfile operation. /// /// /// Container for the necessary parameters to execute the CreateInstanceProfile operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for CreateInstanceProfile Operation public virtual void CreateInstanceProfileAsync(CreateInstanceProfileRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreateInstanceProfileRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreateInstanceProfileResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreateInstanceProfileRequest)req, (CreateInstanceProfileResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreateLoginProfile /// /// Initiates the asynchronous execution of the CreateLoginProfile operation. /// /// /// Container for the necessary parameters to execute the CreateLoginProfile operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for CreateLoginProfile Operation public virtual void CreateLoginProfileAsync(CreateLoginProfileRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreateLoginProfileRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreateLoginProfileResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreateLoginProfileRequest)req, (CreateLoginProfileResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreateOpenIDConnectProvider /// /// Initiates the asynchronous execution of the CreateOpenIDConnectProvider operation. /// /// /// Container for the necessary parameters to execute the CreateOpenIDConnectProvider operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for CreateOpenIDConnectProvider Operation public virtual void CreateOpenIDConnectProviderAsync(CreateOpenIDConnectProviderRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreateOpenIDConnectProviderRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreateOpenIDConnectProviderResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreateOpenIDConnectProviderRequest)req, (CreateOpenIDConnectProviderResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreatePolicy /// /// Initiates the asynchronous execution of the CreatePolicy operation. /// /// /// Container for the necessary parameters to execute the CreatePolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for CreatePolicy Operation public virtual void CreatePolicyAsync(CreatePolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreatePolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreatePolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreatePolicyRequest)req, (CreatePolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreatePolicyVersion /// /// Initiates the asynchronous execution of the CreatePolicyVersion operation. /// /// /// Container for the necessary parameters to execute the CreatePolicyVersion operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for CreatePolicyVersion Operation public virtual void CreatePolicyVersionAsync(CreatePolicyVersionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreatePolicyVersionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreatePolicyVersionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreatePolicyVersionRequest)req, (CreatePolicyVersionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreateRole /// /// Initiates the asynchronous execution of the CreateRole operation. /// /// /// Container for the necessary parameters to execute the CreateRole operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for CreateRole Operation public virtual void CreateRoleAsync(CreateRoleRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreateRoleRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreateRoleResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreateRoleRequest)req, (CreateRoleResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreateSAMLProvider /// /// Initiates the asynchronous execution of the CreateSAMLProvider operation. /// /// /// Container for the necessary parameters to execute the CreateSAMLProvider operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for CreateSAMLProvider Operation public virtual void CreateSAMLProviderAsync(CreateSAMLProviderRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreateSAMLProviderRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreateSAMLProviderResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreateSAMLProviderRequest)req, (CreateSAMLProviderResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreateServiceLinkedRole /// /// Initiates the asynchronous execution of the CreateServiceLinkedRole operation. /// /// /// Container for the necessary parameters to execute the CreateServiceLinkedRole operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for CreateServiceLinkedRole Operation public virtual void CreateServiceLinkedRoleAsync(CreateServiceLinkedRoleRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreateServiceLinkedRoleRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreateServiceLinkedRoleResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreateServiceLinkedRoleRequest)req, (CreateServiceLinkedRoleResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreateServiceSpecificCredential /// /// Initiates the asynchronous execution of the CreateServiceSpecificCredential operation. /// /// /// Container for the necessary parameters to execute the CreateServiceSpecificCredential operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for CreateServiceSpecificCredential Operation public virtual void CreateServiceSpecificCredentialAsync(CreateServiceSpecificCredentialRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreateServiceSpecificCredentialRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreateServiceSpecificCredentialResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreateServiceSpecificCredentialRequest)req, (CreateServiceSpecificCredentialResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreateUser /// /// Initiates the asynchronous execution of the CreateUser operation. /// /// /// Container for the necessary parameters to execute the CreateUser operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for CreateUser Operation public virtual void CreateUserAsync(CreateUserRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreateUserRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreateUserRequest)req, (CreateUserResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region CreateVirtualMFADevice /// /// Initiates the asynchronous execution of the CreateVirtualMFADevice operation. /// /// /// Container for the necessary parameters to execute the CreateVirtualMFADevice operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for CreateVirtualMFADevice Operation public virtual void CreateVirtualMFADeviceAsync(CreateVirtualMFADeviceRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = CreateVirtualMFADeviceRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = CreateVirtualMFADeviceResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((CreateVirtualMFADeviceRequest)req, (CreateVirtualMFADeviceResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeactivateMFADevice /// /// Initiates the asynchronous execution of the DeactivateMFADevice operation. /// /// /// Container for the necessary parameters to execute the DeactivateMFADevice operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeactivateMFADevice Operation public virtual void DeactivateMFADeviceAsync(DeactivateMFADeviceRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeactivateMFADeviceRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeactivateMFADeviceResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeactivateMFADeviceRequest)req, (DeactivateMFADeviceResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteAccessKey /// /// Initiates the asynchronous execution of the DeleteAccessKey operation. /// /// /// Container for the necessary parameters to execute the DeleteAccessKey operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteAccessKey Operation public virtual void DeleteAccessKeyAsync(DeleteAccessKeyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteAccessKeyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteAccessKeyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteAccessKeyRequest)req, (DeleteAccessKeyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteAccountAlias /// /// Initiates the asynchronous execution of the DeleteAccountAlias operation. /// /// /// Container for the necessary parameters to execute the DeleteAccountAlias operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteAccountAlias Operation public virtual void DeleteAccountAliasAsync(DeleteAccountAliasRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteAccountAliasRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteAccountAliasResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteAccountAliasRequest)req, (DeleteAccountAliasResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteAccountPasswordPolicy /// /// Deletes the password policy for the AWS account. There are no parameters. /// /// An Action 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. /// /// /// The response from the DeleteAccountPasswordPolicy service method, as returned by IdentityManagementService. /// /// The request was rejected because it attempted to create resources beyond the current /// AWS account limits. The error message describes the limit exceeded. /// /// /// The request was rejected because it referenced a resource entity that does not exist. /// The error message describes the resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for DeleteAccountPasswordPolicy Operation public virtual void DeleteAccountPasswordPolicyAsync(AmazonServiceCallback callback, AsyncOptions options = null) { DeleteAccountPasswordPolicyAsync(new DeleteAccountPasswordPolicyRequest(), callback, options); } /// /// Initiates the asynchronous execution of the DeleteAccountPasswordPolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteAccountPasswordPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteAccountPasswordPolicy Operation public virtual void DeleteAccountPasswordPolicyAsync(DeleteAccountPasswordPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteAccountPasswordPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteAccountPasswordPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteAccountPasswordPolicyRequest)req, (DeleteAccountPasswordPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteGroup /// /// Initiates the asynchronous execution of the DeleteGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteGroup operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteGroup Operation public virtual void DeleteGroupAsync(DeleteGroupRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteGroupRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteGroupResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteGroupRequest)req, (DeleteGroupResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteGroupPolicy /// /// Initiates the asynchronous execution of the DeleteGroupPolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteGroupPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteGroupPolicy Operation public virtual void DeleteGroupPolicyAsync(DeleteGroupPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteGroupPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteGroupPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteGroupPolicyRequest)req, (DeleteGroupPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteInstanceProfile /// /// Initiates the asynchronous execution of the DeleteInstanceProfile operation. /// /// /// Container for the necessary parameters to execute the DeleteInstanceProfile operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteInstanceProfile Operation public virtual void DeleteInstanceProfileAsync(DeleteInstanceProfileRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteInstanceProfileRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteInstanceProfileResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteInstanceProfileRequest)req, (DeleteInstanceProfileResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteLoginProfile /// /// Initiates the asynchronous execution of the DeleteLoginProfile operation. /// /// /// Container for the necessary parameters to execute the DeleteLoginProfile operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteLoginProfile Operation public virtual void DeleteLoginProfileAsync(DeleteLoginProfileRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteLoginProfileRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteLoginProfileResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteLoginProfileRequest)req, (DeleteLoginProfileResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteOpenIDConnectProvider /// /// Initiates the asynchronous execution of the DeleteOpenIDConnectProvider operation. /// /// /// Container for the necessary parameters to execute the DeleteOpenIDConnectProvider operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteOpenIDConnectProvider Operation public virtual void DeleteOpenIDConnectProviderAsync(DeleteOpenIDConnectProviderRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteOpenIDConnectProviderRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteOpenIDConnectProviderResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteOpenIDConnectProviderRequest)req, (DeleteOpenIDConnectProviderResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeletePolicy /// /// Initiates the asynchronous execution of the DeletePolicy operation. /// /// /// Container for the necessary parameters to execute the DeletePolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeletePolicy Operation public virtual void DeletePolicyAsync(DeletePolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeletePolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeletePolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeletePolicyRequest)req, (DeletePolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeletePolicyVersion /// /// Initiates the asynchronous execution of the DeletePolicyVersion operation. /// /// /// Container for the necessary parameters to execute the DeletePolicyVersion operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeletePolicyVersion Operation public virtual void DeletePolicyVersionAsync(DeletePolicyVersionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeletePolicyVersionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeletePolicyVersionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeletePolicyVersionRequest)req, (DeletePolicyVersionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteRole /// /// Initiates the asynchronous execution of the DeleteRole operation. /// /// /// Container for the necessary parameters to execute the DeleteRole operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteRole Operation public virtual void DeleteRoleAsync(DeleteRoleRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteRoleRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteRoleResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteRoleRequest)req, (DeleteRoleResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteRolePermissionsBoundary /// /// Initiates the asynchronous execution of the DeleteRolePermissionsBoundary operation. /// /// /// Container for the necessary parameters to execute the DeleteRolePermissionsBoundary operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteRolePermissionsBoundary Operation public virtual void DeleteRolePermissionsBoundaryAsync(DeleteRolePermissionsBoundaryRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteRolePermissionsBoundaryRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteRolePermissionsBoundaryResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteRolePermissionsBoundaryRequest)req, (DeleteRolePermissionsBoundaryResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteRolePolicy /// /// Initiates the asynchronous execution of the DeleteRolePolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteRolePolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteRolePolicy Operation public virtual void DeleteRolePolicyAsync(DeleteRolePolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteRolePolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteRolePolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteRolePolicyRequest)req, (DeleteRolePolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteSAMLProvider /// /// Initiates the asynchronous execution of the DeleteSAMLProvider operation. /// /// /// Container for the necessary parameters to execute the DeleteSAMLProvider operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteSAMLProvider Operation public virtual void DeleteSAMLProviderAsync(DeleteSAMLProviderRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteSAMLProviderRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteSAMLProviderResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteSAMLProviderRequest)req, (DeleteSAMLProviderResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteServerCertificate /// /// Initiates the asynchronous execution of the DeleteServerCertificate operation. /// /// /// Container for the necessary parameters to execute the DeleteServerCertificate operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteServerCertificate Operation public virtual void DeleteServerCertificateAsync(DeleteServerCertificateRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteServerCertificateRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteServerCertificateResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteServerCertificateRequest)req, (DeleteServerCertificateResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteServiceLinkedRole /// /// Initiates the asynchronous execution of the DeleteServiceLinkedRole operation. /// /// /// Container for the necessary parameters to execute the DeleteServiceLinkedRole operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteServiceLinkedRole Operation public virtual void DeleteServiceLinkedRoleAsync(DeleteServiceLinkedRoleRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteServiceLinkedRoleRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteServiceLinkedRoleResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteServiceLinkedRoleRequest)req, (DeleteServiceLinkedRoleResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteServiceSpecificCredential /// /// Initiates the asynchronous execution of the DeleteServiceSpecificCredential operation. /// /// /// Container for the necessary parameters to execute the DeleteServiceSpecificCredential operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteServiceSpecificCredential Operation public virtual void DeleteServiceSpecificCredentialAsync(DeleteServiceSpecificCredentialRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteServiceSpecificCredentialRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteServiceSpecificCredentialResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteServiceSpecificCredentialRequest)req, (DeleteServiceSpecificCredentialResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteSigningCertificate /// /// Initiates the asynchronous execution of the DeleteSigningCertificate operation. /// /// /// Container for the necessary parameters to execute the DeleteSigningCertificate operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteSigningCertificate Operation public virtual void DeleteSigningCertificateAsync(DeleteSigningCertificateRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteSigningCertificateRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteSigningCertificateResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteSigningCertificateRequest)req, (DeleteSigningCertificateResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteSSHPublicKey /// /// Initiates the asynchronous execution of the DeleteSSHPublicKey operation. /// /// /// Container for the necessary parameters to execute the DeleteSSHPublicKey operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteSSHPublicKey Operation public virtual void DeleteSSHPublicKeyAsync(DeleteSSHPublicKeyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteSSHPublicKeyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteSSHPublicKeyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteSSHPublicKeyRequest)req, (DeleteSSHPublicKeyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteUser /// /// Initiates the asynchronous execution of the DeleteUser operation. /// /// /// Container for the necessary parameters to execute the DeleteUser operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteUser Operation public virtual void DeleteUserAsync(DeleteUserRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteUserRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteUserRequest)req, (DeleteUserResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteUserPermissionsBoundary /// /// Initiates the asynchronous execution of the DeleteUserPermissionsBoundary operation. /// /// /// Container for the necessary parameters to execute the DeleteUserPermissionsBoundary operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteUserPermissionsBoundary Operation public virtual void DeleteUserPermissionsBoundaryAsync(DeleteUserPermissionsBoundaryRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteUserPermissionsBoundaryRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteUserPermissionsBoundaryResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteUserPermissionsBoundaryRequest)req, (DeleteUserPermissionsBoundaryResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteUserPolicy /// /// Initiates the asynchronous execution of the DeleteUserPolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteUserPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteUserPolicy Operation public virtual void DeleteUserPolicyAsync(DeleteUserPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteUserPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteUserPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteUserPolicyRequest)req, (DeleteUserPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DeleteVirtualMFADevice /// /// Initiates the asynchronous execution of the DeleteVirtualMFADevice operation. /// /// /// Container for the necessary parameters to execute the DeleteVirtualMFADevice operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DeleteVirtualMFADevice Operation public virtual void DeleteVirtualMFADeviceAsync(DeleteVirtualMFADeviceRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DeleteVirtualMFADeviceRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DeleteVirtualMFADeviceResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DeleteVirtualMFADeviceRequest)req, (DeleteVirtualMFADeviceResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DetachGroupPolicy /// /// Initiates the asynchronous execution of the DetachGroupPolicy operation. /// /// /// Container for the necessary parameters to execute the DetachGroupPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DetachGroupPolicy Operation public virtual void DetachGroupPolicyAsync(DetachGroupPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DetachGroupPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DetachGroupPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DetachGroupPolicyRequest)req, (DetachGroupPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DetachRolePolicy /// /// Initiates the asynchronous execution of the DetachRolePolicy operation. /// /// /// Container for the necessary parameters to execute the DetachRolePolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DetachRolePolicy Operation public virtual void DetachRolePolicyAsync(DetachRolePolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DetachRolePolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DetachRolePolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DetachRolePolicyRequest)req, (DetachRolePolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region DetachUserPolicy /// /// Initiates the asynchronous execution of the DetachUserPolicy operation. /// /// /// Container for the necessary parameters to execute the DetachUserPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for DetachUserPolicy Operation public virtual void DetachUserPolicyAsync(DetachUserPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = DetachUserPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = DetachUserPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((DetachUserPolicyRequest)req, (DetachUserPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region EnableMFADevice /// /// Initiates the asynchronous execution of the EnableMFADevice operation. /// /// /// Container for the necessary parameters to execute the EnableMFADevice operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for EnableMFADevice Operation public virtual void EnableMFADeviceAsync(EnableMFADeviceRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = EnableMFADeviceRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = EnableMFADeviceResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((EnableMFADeviceRequest)req, (EnableMFADeviceResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GenerateCredentialReport /// /// Generates a credential report for the AWS account. For more information about the /// credential report, see Getting /// Credential Reports in the IAM User Guide. /// /// An Action 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. /// /// /// The response from the GenerateCredentialReport service method, as returned by IdentityManagementService. /// /// The request was rejected because it attempted to create resources beyond the current /// AWS account limits. The error message describes the limit exceeded. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for GenerateCredentialReport Operation public virtual void GenerateCredentialReportAsync(AmazonServiceCallback callback, AsyncOptions options = null) { GenerateCredentialReportAsync(new GenerateCredentialReportRequest(), callback, options); } /// /// Initiates the asynchronous execution of the GenerateCredentialReport operation. /// /// /// Container for the necessary parameters to execute the GenerateCredentialReport operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GenerateCredentialReport Operation public virtual void GenerateCredentialReportAsync(GenerateCredentialReportRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GenerateCredentialReportRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GenerateCredentialReportResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GenerateCredentialReportRequest)req, (GenerateCredentialReportResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GenerateOrganizationsAccessReport /// /// Initiates the asynchronous execution of the GenerateOrganizationsAccessReport operation. /// /// /// Container for the necessary parameters to execute the GenerateOrganizationsAccessReport operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GenerateOrganizationsAccessReport Operation public virtual void GenerateOrganizationsAccessReportAsync(GenerateOrganizationsAccessReportRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GenerateOrganizationsAccessReportRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GenerateOrganizationsAccessReportResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GenerateOrganizationsAccessReportRequest)req, (GenerateOrganizationsAccessReportResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GenerateServiceLastAccessedDetails /// /// Initiates the asynchronous execution of the GenerateServiceLastAccessedDetails operation. /// /// /// Container for the necessary parameters to execute the GenerateServiceLastAccessedDetails operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GenerateServiceLastAccessedDetails Operation public virtual void GenerateServiceLastAccessedDetailsAsync(GenerateServiceLastAccessedDetailsRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GenerateServiceLastAccessedDetailsRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GenerateServiceLastAccessedDetailsResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GenerateServiceLastAccessedDetailsRequest)req, (GenerateServiceLastAccessedDetailsResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetAccessKeyLastUsed /// /// Initiates the asynchronous execution of the GetAccessKeyLastUsed operation. /// /// /// Container for the necessary parameters to execute the GetAccessKeyLastUsed operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetAccessKeyLastUsed Operation public virtual void GetAccessKeyLastUsedAsync(GetAccessKeyLastUsedRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetAccessKeyLastUsedRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetAccessKeyLastUsedResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetAccessKeyLastUsedRequest)req, (GetAccessKeyLastUsedResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetAccountAuthorizationDetails /// /// Initiates the asynchronous execution of the GetAccountAuthorizationDetails operation. /// /// /// Container for the necessary parameters to execute the GetAccountAuthorizationDetails operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetAccountAuthorizationDetails Operation public virtual void GetAccountAuthorizationDetailsAsync(GetAccountAuthorizationDetailsRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetAccountAuthorizationDetailsRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetAccountAuthorizationDetailsResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetAccountAuthorizationDetailsRequest)req, (GetAccountAuthorizationDetailsResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetAccountPasswordPolicy /// /// Retrieves the password policy for the AWS account. For more information about using /// a password policy, go to Managing /// an IAM Password Policy. /// /// An Action 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. /// /// /// The response from the GetAccountPasswordPolicy service method, as returned by IdentityManagementService. /// /// The request was rejected because it referenced a resource entity that does not exist. /// The error message describes the resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for GetAccountPasswordPolicy Operation public virtual void GetAccountPasswordPolicyAsync(AmazonServiceCallback callback, AsyncOptions options = null) { GetAccountPasswordPolicyAsync(new GetAccountPasswordPolicyRequest(), callback, options); } /// /// Initiates the asynchronous execution of the GetAccountPasswordPolicy operation. /// /// /// Container for the necessary parameters to execute the GetAccountPasswordPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetAccountPasswordPolicy Operation public virtual void GetAccountPasswordPolicyAsync(GetAccountPasswordPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetAccountPasswordPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetAccountPasswordPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetAccountPasswordPolicyRequest)req, (GetAccountPasswordPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetAccountSummary /// /// Retrieves information about IAM entity usage and IAM quotas in the AWS account. /// /// /// /// For information about limitations on IAM entities, see Limitations /// on IAM Entities in the IAM User Guide. /// /// /// An Action 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. /// /// /// The response from the GetAccountSummary service method, as returned by IdentityManagementService. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for GetAccountSummary Operation public virtual void GetAccountSummaryAsync(AmazonServiceCallback callback, AsyncOptions options = null) { GetAccountSummaryAsync(new GetAccountSummaryRequest(), callback, options); } /// /// Initiates the asynchronous execution of the GetAccountSummary operation. /// /// /// Container for the necessary parameters to execute the GetAccountSummary operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetAccountSummary Operation public virtual void GetAccountSummaryAsync(GetAccountSummaryRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetAccountSummaryRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetAccountSummaryResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetAccountSummaryRequest)req, (GetAccountSummaryResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetContextKeysForCustomPolicy /// /// Gets a list of all of the context keys referenced in the input policies. The policies /// are supplied as a list of one or more strings. To get the context keys from policies /// associated with an IAM user, group, or role, use GetContextKeysForPrincipalPolicy. /// /// /// /// Context keys are variables maintained by AWS and its services that provide details /// about the context of an API query request. Context keys can be evaluated by testing /// against a value specified in an IAM policy. Use GetContextKeysForCustomPolicy /// to understand what key names and values you must supply when you call SimulateCustomPolicy. /// Note that all parameters are shown in unencoded form here for clarity but must be /// URL encoded to be included as a part of a real HTML request. /// /// /// A list of policies for which you want the list of context keys referenced in those policies. Each document is specified as a string containing the complete, valid JSON text of an IAM policy. The regex pattern used to validate this parameter is a string of characters consisting of the following:
  • Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range
  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF)
  • The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
/// An Action 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. /// /// /// The response from the GetContextKeysForCustomPolicy service method, as returned by IdentityManagementService. /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// REST API Reference for GetContextKeysForCustomPolicy Operation public virtual void GetContextKeysForCustomPolicyAsync(List policyInputList, AmazonServiceCallback callback, AsyncOptions options = null) { var request = new GetContextKeysForCustomPolicyRequest(); request.PolicyInputList = policyInputList; GetContextKeysForCustomPolicyAsync(request, callback, options); } /// /// Initiates the asynchronous execution of the GetContextKeysForCustomPolicy operation. /// /// /// Container for the necessary parameters to execute the GetContextKeysForCustomPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetContextKeysForCustomPolicy Operation public virtual void GetContextKeysForCustomPolicyAsync(GetContextKeysForCustomPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetContextKeysForCustomPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetContextKeysForCustomPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetContextKeysForCustomPolicyRequest)req, (GetContextKeysForCustomPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetContextKeysForPrincipalPolicy /// /// Gets a list of all of the context keys referenced in all the IAM policies that are /// attached to the specified IAM entity. The entity can be an IAM user, group, or role. /// If you specify a user, then the request also includes all of the policies attached /// to groups that the user is a member of. /// /// /// /// You can optionally include a list of one or more additional policies, specified as /// strings. If you want to include only a list of policies by string, use GetContextKeysForCustomPolicy /// instead. /// /// /// /// Note: This API discloses information about the permissions granted to other /// users. If you do not want users to see other user's permissions, then consider allowing /// them to use GetContextKeysForCustomPolicy instead. /// /// /// /// Context keys are variables maintained by AWS and its services that provide details /// about the context of an API query request. Context keys can be evaluated by testing /// against a value in an IAM policy. Use GetContextKeysForPrincipalPolicy to understand /// what key names and values you must supply when you call SimulatePrincipalPolicy. /// /// /// The ARN of a user, group, or role whose policies contain the context keys that you want listed. If you specify a user, the list includes context keys that are found in all policies that are attached to the user. The list also includes all groups that the user is a member of. If you pick a group or a role, then it includes only those context keys that are found in policies attached to that entity. Note that all parameters are shown in unencoded form here for clarity, but must be URL encoded to be included as a part of a real HTML request. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. /// An Action 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. /// /// /// The response from the GetContextKeysForPrincipalPolicy service method, as returned by IdentityManagementService. /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced a resource entity that does not exist. /// The error message describes the resource. /// /// REST API Reference for GetContextKeysForPrincipalPolicy Operation public virtual void GetContextKeysForPrincipalPolicyAsync(string policySourceArn, AmazonServiceCallback callback, AsyncOptions options = null) { var request = new GetContextKeysForPrincipalPolicyRequest(); request.PolicySourceArn = policySourceArn; GetContextKeysForPrincipalPolicyAsync(request, callback, options); } /// /// Gets a list of all of the context keys referenced in all the IAM policies that are /// attached to the specified IAM entity. The entity can be an IAM user, group, or role. /// If you specify a user, then the request also includes all of the policies attached /// to groups that the user is a member of. /// /// /// /// You can optionally include a list of one or more additional policies, specified as /// strings. If you want to include only a list of policies by string, use GetContextKeysForCustomPolicy /// instead. /// /// /// /// Note: This API discloses information about the permissions granted to other /// users. If you do not want users to see other user's permissions, then consider allowing /// them to use GetContextKeysForCustomPolicy instead. /// /// /// /// Context keys are variables maintained by AWS and its services that provide details /// about the context of an API query request. Context keys can be evaluated by testing /// against a value in an IAM policy. Use GetContextKeysForPrincipalPolicy to understand /// what key names and values you must supply when you call SimulatePrincipalPolicy. /// /// /// The ARN of a user, group, or role whose policies contain the context keys that you want listed. If you specify a user, the list includes context keys that are found in all policies that are attached to the user. The list also includes all groups that the user is a member of. If you pick a group or a role, then it includes only those context keys that are found in policies attached to that entity. Note that all parameters are shown in unencoded form here for clarity, but must be URL encoded to be included as a part of a real HTML request. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference. /// An optional list of additional policies for which you want the list of context keys that are referenced. The regex pattern used to validate this parameter is a string of characters consisting of the following:
  • Any printable ASCII character ranging from the space character (\u0020) through the end of the ASCII character range
  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF)
  • The special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D)
/// An Action 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. /// /// /// The response from the GetContextKeysForPrincipalPolicy service method, as returned by IdentityManagementService. /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced a resource entity that does not exist. /// The error message describes the resource. /// /// REST API Reference for GetContextKeysForPrincipalPolicy Operation public virtual void GetContextKeysForPrincipalPolicyAsync(string policySourceArn, List policyInputList, AmazonServiceCallback callback, AsyncOptions options = null) { var request = new GetContextKeysForPrincipalPolicyRequest(); request.PolicySourceArn = policySourceArn; request.PolicyInputList = policyInputList; GetContextKeysForPrincipalPolicyAsync(request, callback, options); } /// /// Initiates the asynchronous execution of the GetContextKeysForPrincipalPolicy operation. /// /// /// Container for the necessary parameters to execute the GetContextKeysForPrincipalPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetContextKeysForPrincipalPolicy Operation public virtual void GetContextKeysForPrincipalPolicyAsync(GetContextKeysForPrincipalPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetContextKeysForPrincipalPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetContextKeysForPrincipalPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetContextKeysForPrincipalPolicyRequest)req, (GetContextKeysForPrincipalPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetCredentialReport /// /// Retrieves a credential report for the AWS account. For more information about the /// credential report, see Getting /// Credential Reports in the IAM User Guide. /// /// An Action 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. /// /// /// The response from the GetCredentialReport service method, as returned by IdentityManagementService. /// /// The request was rejected because the most recent credential report has expired. To /// generate a new credential report, use GenerateCredentialReport. For more information /// about credential report expiration, see Getting /// Credential Reports in the IAM User Guide. /// /// /// The request was rejected because the credential report does not exist. To generate /// a credential report, use GenerateCredentialReport. /// /// /// The request was rejected because the credential report is still being generated. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for GetCredentialReport Operation public virtual void GetCredentialReportAsync(AmazonServiceCallback callback, AsyncOptions options = null) { GetCredentialReportAsync(new GetCredentialReportRequest(), callback, options); } /// /// Initiates the asynchronous execution of the GetCredentialReport operation. /// /// /// Container for the necessary parameters to execute the GetCredentialReport operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetCredentialReport Operation public virtual void GetCredentialReportAsync(GetCredentialReportRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetCredentialReportRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetCredentialReportResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetCredentialReportRequest)req, (GetCredentialReportResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetGroup /// /// Initiates the asynchronous execution of the GetGroup operation. /// /// /// Container for the necessary parameters to execute the GetGroup operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetGroup Operation public virtual void GetGroupAsync(GetGroupRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetGroupRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetGroupResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetGroupRequest)req, (GetGroupResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetGroupPolicy /// /// Initiates the asynchronous execution of the GetGroupPolicy operation. /// /// /// Container for the necessary parameters to execute the GetGroupPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetGroupPolicy Operation public virtual void GetGroupPolicyAsync(GetGroupPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetGroupPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetGroupPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetGroupPolicyRequest)req, (GetGroupPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetInstanceProfile /// /// Initiates the asynchronous execution of the GetInstanceProfile operation. /// /// /// Container for the necessary parameters to execute the GetInstanceProfile operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetInstanceProfile Operation public virtual void GetInstanceProfileAsync(GetInstanceProfileRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetInstanceProfileRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetInstanceProfileResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetInstanceProfileRequest)req, (GetInstanceProfileResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetLoginProfile /// /// Initiates the asynchronous execution of the GetLoginProfile operation. /// /// /// Container for the necessary parameters to execute the GetLoginProfile operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetLoginProfile Operation public virtual void GetLoginProfileAsync(GetLoginProfileRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetLoginProfileRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetLoginProfileResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetLoginProfileRequest)req, (GetLoginProfileResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetOpenIDConnectProvider /// /// Initiates the asynchronous execution of the GetOpenIDConnectProvider operation. /// /// /// Container for the necessary parameters to execute the GetOpenIDConnectProvider operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetOpenIDConnectProvider Operation public virtual void GetOpenIDConnectProviderAsync(GetOpenIDConnectProviderRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetOpenIDConnectProviderRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetOpenIDConnectProviderResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetOpenIDConnectProviderRequest)req, (GetOpenIDConnectProviderResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetOrganizationsAccessReport /// /// Initiates the asynchronous execution of the GetOrganizationsAccessReport operation. /// /// /// Container for the necessary parameters to execute the GetOrganizationsAccessReport operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetOrganizationsAccessReport Operation public virtual void GetOrganizationsAccessReportAsync(GetOrganizationsAccessReportRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetOrganizationsAccessReportRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetOrganizationsAccessReportResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetOrganizationsAccessReportRequest)req, (GetOrganizationsAccessReportResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetPolicy /// /// Initiates the asynchronous execution of the GetPolicy operation. /// /// /// Container for the necessary parameters to execute the GetPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetPolicy Operation public virtual void GetPolicyAsync(GetPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetPolicyRequest)req, (GetPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetPolicyVersion /// /// Initiates the asynchronous execution of the GetPolicyVersion operation. /// /// /// Container for the necessary parameters to execute the GetPolicyVersion operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetPolicyVersion Operation public virtual void GetPolicyVersionAsync(GetPolicyVersionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetPolicyVersionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetPolicyVersionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetPolicyVersionRequest)req, (GetPolicyVersionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetRole /// /// Initiates the asynchronous execution of the GetRole operation. /// /// /// Container for the necessary parameters to execute the GetRole operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetRole Operation public virtual void GetRoleAsync(GetRoleRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetRoleRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetRoleResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetRoleRequest)req, (GetRoleResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetRolePolicy /// /// Initiates the asynchronous execution of the GetRolePolicy operation. /// /// /// Container for the necessary parameters to execute the GetRolePolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetRolePolicy Operation public virtual void GetRolePolicyAsync(GetRolePolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetRolePolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetRolePolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetRolePolicyRequest)req, (GetRolePolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetSAMLProvider /// /// Initiates the asynchronous execution of the GetSAMLProvider operation. /// /// /// Container for the necessary parameters to execute the GetSAMLProvider operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetSAMLProvider Operation public virtual void GetSAMLProviderAsync(GetSAMLProviderRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetSAMLProviderRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetSAMLProviderResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetSAMLProviderRequest)req, (GetSAMLProviderResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetServerCertificate /// /// Initiates the asynchronous execution of the GetServerCertificate operation. /// /// /// Container for the necessary parameters to execute the GetServerCertificate operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetServerCertificate Operation public virtual void GetServerCertificateAsync(GetServerCertificateRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetServerCertificateRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetServerCertificateResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetServerCertificateRequest)req, (GetServerCertificateResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetServiceLastAccessedDetails /// /// Initiates the asynchronous execution of the GetServiceLastAccessedDetails operation. /// /// /// Container for the necessary parameters to execute the GetServiceLastAccessedDetails operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetServiceLastAccessedDetails Operation public virtual void GetServiceLastAccessedDetailsAsync(GetServiceLastAccessedDetailsRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetServiceLastAccessedDetailsRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetServiceLastAccessedDetailsResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetServiceLastAccessedDetailsRequest)req, (GetServiceLastAccessedDetailsResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetServiceLastAccessedDetailsWithEntities /// /// Initiates the asynchronous execution of the GetServiceLastAccessedDetailsWithEntities operation. /// /// /// Container for the necessary parameters to execute the GetServiceLastAccessedDetailsWithEntities operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetServiceLastAccessedDetailsWithEntities Operation public virtual void GetServiceLastAccessedDetailsWithEntitiesAsync(GetServiceLastAccessedDetailsWithEntitiesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetServiceLastAccessedDetailsWithEntitiesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetServiceLastAccessedDetailsWithEntitiesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetServiceLastAccessedDetailsWithEntitiesRequest)req, (GetServiceLastAccessedDetailsWithEntitiesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetServiceLinkedRoleDeletionStatus /// /// Initiates the asynchronous execution of the GetServiceLinkedRoleDeletionStatus operation. /// /// /// Container for the necessary parameters to execute the GetServiceLinkedRoleDeletionStatus operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetServiceLinkedRoleDeletionStatus Operation public virtual void GetServiceLinkedRoleDeletionStatusAsync(GetServiceLinkedRoleDeletionStatusRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetServiceLinkedRoleDeletionStatusRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetServiceLinkedRoleDeletionStatusResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetServiceLinkedRoleDeletionStatusRequest)req, (GetServiceLinkedRoleDeletionStatusResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetSSHPublicKey /// /// Initiates the asynchronous execution of the GetSSHPublicKey operation. /// /// /// Container for the necessary parameters to execute the GetSSHPublicKey operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetSSHPublicKey Operation public virtual void GetSSHPublicKeyAsync(GetSSHPublicKeyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetSSHPublicKeyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetSSHPublicKeyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetSSHPublicKeyRequest)req, (GetSSHPublicKeyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetUser /// /// Retrieves information about the specified IAM user, including the user's creation /// date, path, unique ID, and ARN. /// /// /// /// If you do not specify a user name, IAM determines the user name implicitly based on /// the AWS access key ID used to sign the request to this API. /// /// /// An Action 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. /// /// /// The response from the GetUser service method, as returned by IdentityManagementService. /// /// The request was rejected because it referenced a resource entity that does not exist. /// The error message describes the resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for GetUser Operation public virtual void GetUserAsync(AmazonServiceCallback callback, AsyncOptions options = null) { GetUserAsync(new GetUserRequest(), callback, options); } /// /// Initiates the asynchronous execution of the GetUser operation. /// /// /// Container for the necessary parameters to execute the GetUser operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetUser Operation public virtual void GetUserAsync(GetUserRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetUserRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetUserResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetUserRequest)req, (GetUserResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region GetUserPolicy /// /// Initiates the asynchronous execution of the GetUserPolicy operation. /// /// /// Container for the necessary parameters to execute the GetUserPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for GetUserPolicy Operation public virtual void GetUserPolicyAsync(GetUserPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = GetUserPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = GetUserPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((GetUserPolicyRequest)req, (GetUserPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListAccessKeys /// /// Returns information about the access key IDs associated with the specified IAM user. /// If there is none, the operation returns an empty list. /// /// /// /// Although each user is limited to a small number of keys, you can still paginate the /// results using the MaxItems and Marker parameters. /// /// /// /// If the UserName field is not specified, the user name is determined implicitly /// based on the AWS access key ID used to sign the request. This operation works for /// access keys under the AWS account. Consequently, you can use this operation to manage /// AWS account root user credentials even if the AWS account has no associated users. /// /// /// /// To ensure the security of your AWS account, the secret access key is accessible only /// during key and user creation. /// /// /// /// An Action 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. /// /// /// The response from the ListAccessKeys service method, as returned by IdentityManagementService. /// /// The request was rejected because it referenced a resource entity that does not exist. /// The error message describes the resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for ListAccessKeys Operation public virtual void ListAccessKeysAsync(AmazonServiceCallback callback, AsyncOptions options = null) { ListAccessKeysAsync(new ListAccessKeysRequest(), callback, options); } /// /// Initiates the asynchronous execution of the ListAccessKeys operation. /// /// /// Container for the necessary parameters to execute the ListAccessKeys operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListAccessKeys Operation public virtual void ListAccessKeysAsync(ListAccessKeysRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListAccessKeysRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListAccessKeysResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListAccessKeysRequest)req, (ListAccessKeysResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListAccountAliases /// /// Lists the account alias associated with the AWS account (Note: you can have only one). /// For information about using an AWS account alias, see Using /// an Alias for Your AWS Account ID in the IAM User Guide. /// /// An Action 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. /// /// /// The response from the ListAccountAliases service method, as returned by IdentityManagementService. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for ListAccountAliases Operation public virtual void ListAccountAliasesAsync(AmazonServiceCallback callback, AsyncOptions options = null) { ListAccountAliasesAsync(new ListAccountAliasesRequest(), callback, options); } /// /// Initiates the asynchronous execution of the ListAccountAliases operation. /// /// /// Container for the necessary parameters to execute the ListAccountAliases operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListAccountAliases Operation public virtual void ListAccountAliasesAsync(ListAccountAliasesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListAccountAliasesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListAccountAliasesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListAccountAliasesRequest)req, (ListAccountAliasesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListAttachedGroupPolicies /// /// Initiates the asynchronous execution of the ListAttachedGroupPolicies operation. /// /// /// Container for the necessary parameters to execute the ListAttachedGroupPolicies operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListAttachedGroupPolicies Operation public virtual void ListAttachedGroupPoliciesAsync(ListAttachedGroupPoliciesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListAttachedGroupPoliciesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListAttachedGroupPoliciesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListAttachedGroupPoliciesRequest)req, (ListAttachedGroupPoliciesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListAttachedRolePolicies /// /// Initiates the asynchronous execution of the ListAttachedRolePolicies operation. /// /// /// Container for the necessary parameters to execute the ListAttachedRolePolicies operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListAttachedRolePolicies Operation public virtual void ListAttachedRolePoliciesAsync(ListAttachedRolePoliciesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListAttachedRolePoliciesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListAttachedRolePoliciesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListAttachedRolePoliciesRequest)req, (ListAttachedRolePoliciesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListAttachedUserPolicies /// /// Initiates the asynchronous execution of the ListAttachedUserPolicies operation. /// /// /// Container for the necessary parameters to execute the ListAttachedUserPolicies operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListAttachedUserPolicies Operation public virtual void ListAttachedUserPoliciesAsync(ListAttachedUserPoliciesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListAttachedUserPoliciesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListAttachedUserPoliciesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListAttachedUserPoliciesRequest)req, (ListAttachedUserPoliciesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListEntitiesForPolicy /// /// Initiates the asynchronous execution of the ListEntitiesForPolicy operation. /// /// /// Container for the necessary parameters to execute the ListEntitiesForPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListEntitiesForPolicy Operation public virtual void ListEntitiesForPolicyAsync(ListEntitiesForPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListEntitiesForPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListEntitiesForPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListEntitiesForPolicyRequest)req, (ListEntitiesForPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListGroupPolicies /// /// Initiates the asynchronous execution of the ListGroupPolicies operation. /// /// /// Container for the necessary parameters to execute the ListGroupPolicies operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListGroupPolicies Operation public virtual void ListGroupPoliciesAsync(ListGroupPoliciesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListGroupPoliciesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListGroupPoliciesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListGroupPoliciesRequest)req, (ListGroupPoliciesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListGroups /// /// Lists the IAM groups that have the specified path prefix. /// /// /// /// You can paginate the results using the MaxItems and Marker /// parameters. /// /// /// An Action 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. /// /// /// The response from the ListGroups service method, as returned by IdentityManagementService. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for ListGroups Operation public virtual void ListGroupsAsync(AmazonServiceCallback callback, AsyncOptions options = null) { ListGroupsAsync(new ListGroupsRequest(), callback, options); } /// /// Initiates the asynchronous execution of the ListGroups operation. /// /// /// Container for the necessary parameters to execute the ListGroups operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListGroups Operation public virtual void ListGroupsAsync(ListGroupsRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListGroupsRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListGroupsResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListGroupsRequest)req, (ListGroupsResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListGroupsForUser /// /// Initiates the asynchronous execution of the ListGroupsForUser operation. /// /// /// Container for the necessary parameters to execute the ListGroupsForUser operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListGroupsForUser Operation public virtual void ListGroupsForUserAsync(ListGroupsForUserRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListGroupsForUserRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListGroupsForUserResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListGroupsForUserRequest)req, (ListGroupsForUserResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListInstanceProfiles /// /// Lists the instance profiles that have the specified path prefix. If there are none, /// the operation returns an empty list. For more information about instance profiles, /// go to About /// Instance Profiles. /// /// /// /// You can paginate the results using the MaxItems and Marker /// parameters. /// /// /// An Action 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. /// /// /// The response from the ListInstanceProfiles service method, as returned by IdentityManagementService. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for ListInstanceProfiles Operation public virtual void ListInstanceProfilesAsync(AmazonServiceCallback callback, AsyncOptions options = null) { ListInstanceProfilesAsync(new ListInstanceProfilesRequest(), callback, options); } /// /// Initiates the asynchronous execution of the ListInstanceProfiles operation. /// /// /// Container for the necessary parameters to execute the ListInstanceProfiles operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListInstanceProfiles Operation public virtual void ListInstanceProfilesAsync(ListInstanceProfilesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListInstanceProfilesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListInstanceProfilesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListInstanceProfilesRequest)req, (ListInstanceProfilesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListInstanceProfilesForRole /// /// Initiates the asynchronous execution of the ListInstanceProfilesForRole operation. /// /// /// Container for the necessary parameters to execute the ListInstanceProfilesForRole operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListInstanceProfilesForRole Operation public virtual void ListInstanceProfilesForRoleAsync(ListInstanceProfilesForRoleRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListInstanceProfilesForRoleRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListInstanceProfilesForRoleResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListInstanceProfilesForRoleRequest)req, (ListInstanceProfilesForRoleResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListMFADevices /// /// Lists the MFA devices for an IAM user. If the request includes a IAM user name, then /// this operation lists all the MFA devices associated with the specified user. If you /// do not specify a user name, IAM determines the user name implicitly based on the AWS /// access key ID signing the request for this API. /// /// /// /// You can paginate the results using the MaxItems and Marker /// parameters. /// /// /// An Action 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. /// /// /// The response from the ListMFADevices service method, as returned by IdentityManagementService. /// /// The request was rejected because it referenced a resource entity that does not exist. /// The error message describes the resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for ListMFADevices Operation public virtual void ListMFADevicesAsync(AmazonServiceCallback callback, AsyncOptions options = null) { ListMFADevicesAsync(new ListMFADevicesRequest(), callback, options); } /// /// Initiates the asynchronous execution of the ListMFADevices operation. /// /// /// Container for the necessary parameters to execute the ListMFADevices operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListMFADevices Operation public virtual void ListMFADevicesAsync(ListMFADevicesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListMFADevicesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListMFADevicesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListMFADevicesRequest)req, (ListMFADevicesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListOpenIDConnectProviders /// /// Initiates the asynchronous execution of the ListOpenIDConnectProviders operation. /// /// /// Container for the necessary parameters to execute the ListOpenIDConnectProviders operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListOpenIDConnectProviders Operation public virtual void ListOpenIDConnectProvidersAsync(ListOpenIDConnectProvidersRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListOpenIDConnectProvidersRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListOpenIDConnectProvidersResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListOpenIDConnectProvidersRequest)req, (ListOpenIDConnectProvidersResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListPolicies /// /// Lists all the managed policies that are available in your AWS account, including your /// own customer-defined managed policies and all AWS managed policies. /// /// /// /// You can filter the list of policies that is returned using the optional OnlyAttached, /// Scope, and PathPrefix parameters. For example, to list only /// the customer managed policies in your AWS account, set Scope to Local. /// To list only AWS managed policies, set Scope to AWS. /// /// /// /// You can paginate the results using the MaxItems and Marker /// parameters. /// /// /// /// For more information about managed policies, see Managed /// Policies and Inline Policies in the IAM User Guide. /// /// /// An Action 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. /// /// /// The response from the ListPolicies service method, as returned by IdentityManagementService. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for ListPolicies Operation public virtual void ListPoliciesAsync(AmazonServiceCallback callback, AsyncOptions options = null) { ListPoliciesAsync(new ListPoliciesRequest(), callback, options); } /// /// Initiates the asynchronous execution of the ListPolicies operation. /// /// /// Container for the necessary parameters to execute the ListPolicies operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListPolicies Operation public virtual void ListPoliciesAsync(ListPoliciesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListPoliciesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListPoliciesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListPoliciesRequest)req, (ListPoliciesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListPoliciesGrantingServiceAccess /// /// Initiates the asynchronous execution of the ListPoliciesGrantingServiceAccess operation. /// /// /// Container for the necessary parameters to execute the ListPoliciesGrantingServiceAccess operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListPoliciesGrantingServiceAccess Operation public virtual void ListPoliciesGrantingServiceAccessAsync(ListPoliciesGrantingServiceAccessRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListPoliciesGrantingServiceAccessRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListPoliciesGrantingServiceAccessResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListPoliciesGrantingServiceAccessRequest)req, (ListPoliciesGrantingServiceAccessResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListPolicyVersions /// /// Initiates the asynchronous execution of the ListPolicyVersions operation. /// /// /// Container for the necessary parameters to execute the ListPolicyVersions operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListPolicyVersions Operation public virtual void ListPolicyVersionsAsync(ListPolicyVersionsRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListPolicyVersionsRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListPolicyVersionsResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListPolicyVersionsRequest)req, (ListPolicyVersionsResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListRolePolicies /// /// Initiates the asynchronous execution of the ListRolePolicies operation. /// /// /// Container for the necessary parameters to execute the ListRolePolicies operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListRolePolicies Operation public virtual void ListRolePoliciesAsync(ListRolePoliciesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListRolePoliciesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListRolePoliciesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListRolePoliciesRequest)req, (ListRolePoliciesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListRoles /// /// Lists the IAM roles that have the specified path prefix. If there are none, the operation /// returns an empty list. For more information about roles, go to Working /// with Roles. /// /// /// /// You can paginate the results using the MaxItems and Marker /// parameters. /// /// /// An Action 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. /// /// /// The response from the ListRoles service method, as returned by IdentityManagementService. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for ListRoles Operation public virtual void ListRolesAsync(AmazonServiceCallback callback, AsyncOptions options = null) { ListRolesAsync(new ListRolesRequest(), callback, options); } /// /// Initiates the asynchronous execution of the ListRoles operation. /// /// /// Container for the necessary parameters to execute the ListRoles operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListRoles Operation public virtual void ListRolesAsync(ListRolesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListRolesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListRolesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListRolesRequest)req, (ListRolesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListRoleTags /// /// Initiates the asynchronous execution of the ListRoleTags operation. /// /// /// Container for the necessary parameters to execute the ListRoleTags operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListRoleTags Operation public virtual void ListRoleTagsAsync(ListRoleTagsRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListRoleTagsRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListRoleTagsResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListRoleTagsRequest)req, (ListRoleTagsResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListSAMLProviders /// /// Lists the SAML provider resource objects defined in IAM in the account. /// /// /// /// This operation requires Signature /// Version 4. /// /// /// /// An Action 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. /// /// /// The response from the ListSAMLProviders service method, as returned by IdentityManagementService. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for ListSAMLProviders Operation public virtual void ListSAMLProvidersAsync(AmazonServiceCallback callback, AsyncOptions options = null) { ListSAMLProvidersAsync(new ListSAMLProvidersRequest(), callback, options); } /// /// Initiates the asynchronous execution of the ListSAMLProviders operation. /// /// /// Container for the necessary parameters to execute the ListSAMLProviders operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListSAMLProviders Operation public virtual void ListSAMLProvidersAsync(ListSAMLProvidersRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListSAMLProvidersRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListSAMLProvidersResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListSAMLProvidersRequest)req, (ListSAMLProvidersResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListServerCertificates /// /// Lists the server certificates stored in IAM that have the specified path prefix. If /// none exist, the operation returns an empty list. /// /// /// /// You can paginate the results using the MaxItems and Marker /// parameters. /// /// /// /// For more information about working with server certificates, see Working /// with Server Certificates in the IAM User Guide. This topic also includes /// a list of AWS services that can use the server certificates that you manage with IAM. /// /// /// An Action 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. /// /// /// The response from the ListServerCertificates service method, as returned by IdentityManagementService. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for ListServerCertificates Operation public virtual void ListServerCertificatesAsync(AmazonServiceCallback callback, AsyncOptions options = null) { ListServerCertificatesAsync(new ListServerCertificatesRequest(), callback, options); } /// /// Initiates the asynchronous execution of the ListServerCertificates operation. /// /// /// Container for the necessary parameters to execute the ListServerCertificates operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListServerCertificates Operation public virtual void ListServerCertificatesAsync(ListServerCertificatesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListServerCertificatesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListServerCertificatesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListServerCertificatesRequest)req, (ListServerCertificatesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListServiceSpecificCredentials /// /// Initiates the asynchronous execution of the ListServiceSpecificCredentials operation. /// /// /// Container for the necessary parameters to execute the ListServiceSpecificCredentials operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListServiceSpecificCredentials Operation public virtual void ListServiceSpecificCredentialsAsync(ListServiceSpecificCredentialsRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListServiceSpecificCredentialsRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListServiceSpecificCredentialsResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListServiceSpecificCredentialsRequest)req, (ListServiceSpecificCredentialsResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListSigningCertificates /// /// Returns information about the signing certificates associated with the specified IAM /// user. If none exists, the operation returns an empty list. /// /// /// /// Although each user is limited to a small number of signing certificates, you can still /// paginate the results using the MaxItems and Marker parameters. /// /// /// /// If the UserName field is not specified, the user name is determined implicitly /// based on the AWS access key ID used to sign the request for this API. This operation /// works for access keys under the AWS account. Consequently, you can use this operation /// to manage AWS account root user credentials even if the AWS account has no associated /// users. /// /// /// An Action 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. /// /// /// The response from the ListSigningCertificates service method, as returned by IdentityManagementService. /// /// The request was rejected because it referenced a resource entity that does not exist. /// The error message describes the resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for ListSigningCertificates Operation public virtual void ListSigningCertificatesAsync(AmazonServiceCallback callback, AsyncOptions options = null) { ListSigningCertificatesAsync(new ListSigningCertificatesRequest(), callback, options); } /// /// Initiates the asynchronous execution of the ListSigningCertificates operation. /// /// /// Container for the necessary parameters to execute the ListSigningCertificates operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListSigningCertificates Operation public virtual void ListSigningCertificatesAsync(ListSigningCertificatesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListSigningCertificatesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListSigningCertificatesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListSigningCertificatesRequest)req, (ListSigningCertificatesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListSSHPublicKeys /// /// Initiates the asynchronous execution of the ListSSHPublicKeys operation. /// /// /// Container for the necessary parameters to execute the ListSSHPublicKeys operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListSSHPublicKeys Operation public virtual void ListSSHPublicKeysAsync(ListSSHPublicKeysRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListSSHPublicKeysRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListSSHPublicKeysResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListSSHPublicKeysRequest)req, (ListSSHPublicKeysResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListUserPolicies /// /// Initiates the asynchronous execution of the ListUserPolicies operation. /// /// /// Container for the necessary parameters to execute the ListUserPolicies operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListUserPolicies Operation public virtual void ListUserPoliciesAsync(ListUserPoliciesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListUserPoliciesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListUserPoliciesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListUserPoliciesRequest)req, (ListUserPoliciesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListUsers /// /// Lists the IAM users that have the specified path prefix. If no path prefix is specified, /// the operation returns all users in the AWS account. If there are none, the operation /// returns an empty list. /// /// /// /// You can paginate the results using the MaxItems and Marker /// parameters. /// /// /// An Action 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. /// /// /// The response from the ListUsers service method, as returned by IdentityManagementService. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for ListUsers Operation public virtual void ListUsersAsync(AmazonServiceCallback callback, AsyncOptions options = null) { ListUsersAsync(new ListUsersRequest(), callback, options); } /// /// Initiates the asynchronous execution of the ListUsers operation. /// /// /// Container for the necessary parameters to execute the ListUsers operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListUsers Operation public virtual void ListUsersAsync(ListUsersRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListUsersRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListUsersResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListUsersRequest)req, (ListUsersResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListUserTags /// /// Initiates the asynchronous execution of the ListUserTags operation. /// /// /// Container for the necessary parameters to execute the ListUserTags operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListUserTags Operation public virtual void ListUserTagsAsync(ListUserTagsRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListUserTagsRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListUserTagsResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListUserTagsRequest)req, (ListUserTagsResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ListVirtualMFADevices /// /// Lists the virtual MFA devices defined in the AWS account by assignment status. If /// you do not specify an assignment status, the operation returns a list of all virtual /// MFA devices. Assignment status can be Assigned, Unassigned, /// or Any. /// /// /// /// You can paginate the results using the MaxItems and Marker /// parameters. /// /// /// An Action 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. /// /// /// The response from the ListVirtualMFADevices service method, as returned by IdentityManagementService. /// REST API Reference for ListVirtualMFADevices Operation public virtual void ListVirtualMFADevicesAsync(AmazonServiceCallback callback, AsyncOptions options = null) { ListVirtualMFADevicesAsync(new ListVirtualMFADevicesRequest(), callback, options); } /// /// Initiates the asynchronous execution of the ListVirtualMFADevices operation. /// /// /// Container for the necessary parameters to execute the ListVirtualMFADevices operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ListVirtualMFADevices Operation public virtual void ListVirtualMFADevicesAsync(ListVirtualMFADevicesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ListVirtualMFADevicesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ListVirtualMFADevicesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ListVirtualMFADevicesRequest)req, (ListVirtualMFADevicesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region PutGroupPolicy /// /// Initiates the asynchronous execution of the PutGroupPolicy operation. /// /// /// Container for the necessary parameters to execute the PutGroupPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for PutGroupPolicy Operation public virtual void PutGroupPolicyAsync(PutGroupPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = PutGroupPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = PutGroupPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((PutGroupPolicyRequest)req, (PutGroupPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region PutRolePermissionsBoundary /// /// Initiates the asynchronous execution of the PutRolePermissionsBoundary operation. /// /// /// Container for the necessary parameters to execute the PutRolePermissionsBoundary operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for PutRolePermissionsBoundary Operation public virtual void PutRolePermissionsBoundaryAsync(PutRolePermissionsBoundaryRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = PutRolePermissionsBoundaryRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = PutRolePermissionsBoundaryResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((PutRolePermissionsBoundaryRequest)req, (PutRolePermissionsBoundaryResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region PutRolePolicy /// /// Initiates the asynchronous execution of the PutRolePolicy operation. /// /// /// Container for the necessary parameters to execute the PutRolePolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for PutRolePolicy Operation public virtual void PutRolePolicyAsync(PutRolePolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = PutRolePolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = PutRolePolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((PutRolePolicyRequest)req, (PutRolePolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region PutUserPermissionsBoundary /// /// Initiates the asynchronous execution of the PutUserPermissionsBoundary operation. /// /// /// Container for the necessary parameters to execute the PutUserPermissionsBoundary operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for PutUserPermissionsBoundary Operation public virtual void PutUserPermissionsBoundaryAsync(PutUserPermissionsBoundaryRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = PutUserPermissionsBoundaryRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = PutUserPermissionsBoundaryResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((PutUserPermissionsBoundaryRequest)req, (PutUserPermissionsBoundaryResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region PutUserPolicy /// /// Initiates the asynchronous execution of the PutUserPolicy operation. /// /// /// Container for the necessary parameters to execute the PutUserPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for PutUserPolicy Operation public virtual void PutUserPolicyAsync(PutUserPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = PutUserPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = PutUserPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((PutUserPolicyRequest)req, (PutUserPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region RemoveClientIDFromOpenIDConnectProvider /// /// Initiates the asynchronous execution of the RemoveClientIDFromOpenIDConnectProvider operation. /// /// /// Container for the necessary parameters to execute the RemoveClientIDFromOpenIDConnectProvider operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for RemoveClientIDFromOpenIDConnectProvider Operation public virtual void RemoveClientIDFromOpenIDConnectProviderAsync(RemoveClientIDFromOpenIDConnectProviderRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = RemoveClientIDFromOpenIDConnectProviderRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = RemoveClientIDFromOpenIDConnectProviderResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((RemoveClientIDFromOpenIDConnectProviderRequest)req, (RemoveClientIDFromOpenIDConnectProviderResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region RemoveRoleFromInstanceProfile /// /// Initiates the asynchronous execution of the RemoveRoleFromInstanceProfile operation. /// /// /// Container for the necessary parameters to execute the RemoveRoleFromInstanceProfile operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for RemoveRoleFromInstanceProfile Operation public virtual void RemoveRoleFromInstanceProfileAsync(RemoveRoleFromInstanceProfileRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = RemoveRoleFromInstanceProfileRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = RemoveRoleFromInstanceProfileResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((RemoveRoleFromInstanceProfileRequest)req, (RemoveRoleFromInstanceProfileResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region RemoveUserFromGroup /// /// Initiates the asynchronous execution of the RemoveUserFromGroup operation. /// /// /// Container for the necessary parameters to execute the RemoveUserFromGroup operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for RemoveUserFromGroup Operation public virtual void RemoveUserFromGroupAsync(RemoveUserFromGroupRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = RemoveUserFromGroupRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = RemoveUserFromGroupResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((RemoveUserFromGroupRequest)req, (RemoveUserFromGroupResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ResetServiceSpecificCredential /// /// Initiates the asynchronous execution of the ResetServiceSpecificCredential operation. /// /// /// Container for the necessary parameters to execute the ResetServiceSpecificCredential operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ResetServiceSpecificCredential Operation public virtual void ResetServiceSpecificCredentialAsync(ResetServiceSpecificCredentialRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ResetServiceSpecificCredentialRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ResetServiceSpecificCredentialResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ResetServiceSpecificCredentialRequest)req, (ResetServiceSpecificCredentialResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region ResyncMFADevice /// /// Initiates the asynchronous execution of the ResyncMFADevice operation. /// /// /// Container for the necessary parameters to execute the ResyncMFADevice operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for ResyncMFADevice Operation public virtual void ResyncMFADeviceAsync(ResyncMFADeviceRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = ResyncMFADeviceRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = ResyncMFADeviceResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((ResyncMFADeviceRequest)req, (ResyncMFADeviceResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region SetDefaultPolicyVersion /// /// Initiates the asynchronous execution of the SetDefaultPolicyVersion operation. /// /// /// Container for the necessary parameters to execute the SetDefaultPolicyVersion operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for SetDefaultPolicyVersion Operation public virtual void SetDefaultPolicyVersionAsync(SetDefaultPolicyVersionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = SetDefaultPolicyVersionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = SetDefaultPolicyVersionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((SetDefaultPolicyVersionRequest)req, (SetDefaultPolicyVersionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region SetSecurityTokenServicePreferences /// /// Initiates the asynchronous execution of the SetSecurityTokenServicePreferences operation. /// /// /// Container for the necessary parameters to execute the SetSecurityTokenServicePreferences operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for SetSecurityTokenServicePreferences Operation public virtual void SetSecurityTokenServicePreferencesAsync(SetSecurityTokenServicePreferencesRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = SetSecurityTokenServicePreferencesRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = SetSecurityTokenServicePreferencesResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((SetSecurityTokenServicePreferencesRequest)req, (SetSecurityTokenServicePreferencesResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region SimulateCustomPolicy /// /// Initiates the asynchronous execution of the SimulateCustomPolicy operation. /// /// /// Container for the necessary parameters to execute the SimulateCustomPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for SimulateCustomPolicy Operation public virtual void SimulateCustomPolicyAsync(SimulateCustomPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = SimulateCustomPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = SimulateCustomPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((SimulateCustomPolicyRequest)req, (SimulateCustomPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region SimulatePrincipalPolicy /// /// Initiates the asynchronous execution of the SimulatePrincipalPolicy operation. /// /// /// Container for the necessary parameters to execute the SimulatePrincipalPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for SimulatePrincipalPolicy Operation public virtual void SimulatePrincipalPolicyAsync(SimulatePrincipalPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = SimulatePrincipalPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = SimulatePrincipalPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((SimulatePrincipalPolicyRequest)req, (SimulatePrincipalPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region TagRole /// /// Initiates the asynchronous execution of the TagRole operation. /// /// /// Container for the necessary parameters to execute the TagRole operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for TagRole Operation public virtual void TagRoleAsync(TagRoleRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = TagRoleRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = TagRoleResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((TagRoleRequest)req, (TagRoleResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region TagUser /// /// Initiates the asynchronous execution of the TagUser operation. /// /// /// Container for the necessary parameters to execute the TagUser operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for TagUser Operation public virtual void TagUserAsync(TagUserRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = TagUserRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = TagUserResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((TagUserRequest)req, (TagUserResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UntagRole /// /// Initiates the asynchronous execution of the UntagRole operation. /// /// /// Container for the necessary parameters to execute the UntagRole operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UntagRole Operation public virtual void UntagRoleAsync(UntagRoleRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UntagRoleRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UntagRoleResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UntagRoleRequest)req, (UntagRoleResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UntagUser /// /// Initiates the asynchronous execution of the UntagUser operation. /// /// /// Container for the necessary parameters to execute the UntagUser operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UntagUser Operation public virtual void UntagUserAsync(UntagUserRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UntagUserRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UntagUserResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UntagUserRequest)req, (UntagUserResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateAccessKey /// /// Initiates the asynchronous execution of the UpdateAccessKey operation. /// /// /// Container for the necessary parameters to execute the UpdateAccessKey operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UpdateAccessKey Operation public virtual void UpdateAccessKeyAsync(UpdateAccessKeyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateAccessKeyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateAccessKeyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateAccessKeyRequest)req, (UpdateAccessKeyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateAccountPasswordPolicy /// /// Updates the password policy settings for the AWS account. /// ///
  • /// /// This operation does not support partial updates. No parameters are required, but if /// you do not specify a parameter, that parameter's value reverts to its default value. /// See the Request Parameters section for each parameter's default value. Also /// note that some parameters do not allow the default parameter to be explicitly set. /// Instead, to invoke the default value, do not include that parameter when you invoke /// the operation. /// ///
/// /// For more information about using a password policy, see Managing /// an IAM Password Policy in the IAM User Guide. /// ///
/// An Action 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. /// /// /// The response from the UpdateAccountPasswordPolicy service method, as returned by IdentityManagementService. /// /// The request was rejected because it attempted to create resources beyond the current /// AWS account limits. The error message describes the limit exceeded. /// /// /// The request was rejected because the policy document was malformed. The error message /// describes the specific error. /// /// /// The request was rejected because it referenced a resource entity that does not exist. /// The error message describes the resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// REST API Reference for UpdateAccountPasswordPolicy Operation public virtual void UpdateAccountPasswordPolicyAsync(AmazonServiceCallback callback, AsyncOptions options = null) { UpdateAccountPasswordPolicyAsync(new UpdateAccountPasswordPolicyRequest(), callback, options); } /// /// Initiates the asynchronous execution of the UpdateAccountPasswordPolicy operation. /// /// /// Container for the necessary parameters to execute the UpdateAccountPasswordPolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UpdateAccountPasswordPolicy Operation public virtual void UpdateAccountPasswordPolicyAsync(UpdateAccountPasswordPolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateAccountPasswordPolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateAccountPasswordPolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateAccountPasswordPolicyRequest)req, (UpdateAccountPasswordPolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateAssumeRolePolicy /// /// Initiates the asynchronous execution of the UpdateAssumeRolePolicy operation. /// /// /// Container for the necessary parameters to execute the UpdateAssumeRolePolicy operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UpdateAssumeRolePolicy Operation public virtual void UpdateAssumeRolePolicyAsync(UpdateAssumeRolePolicyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateAssumeRolePolicyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateAssumeRolePolicyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateAssumeRolePolicyRequest)req, (UpdateAssumeRolePolicyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateGroup /// /// Initiates the asynchronous execution of the UpdateGroup operation. /// /// /// Container for the necessary parameters to execute the UpdateGroup operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UpdateGroup Operation public virtual void UpdateGroupAsync(UpdateGroupRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateGroupRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateGroupResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateGroupRequest)req, (UpdateGroupResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateLoginProfile /// /// Initiates the asynchronous execution of the UpdateLoginProfile operation. /// /// /// Container for the necessary parameters to execute the UpdateLoginProfile operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UpdateLoginProfile Operation public virtual void UpdateLoginProfileAsync(UpdateLoginProfileRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateLoginProfileRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateLoginProfileResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateLoginProfileRequest)req, (UpdateLoginProfileResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateOpenIDConnectProviderThumbprint /// /// Initiates the asynchronous execution of the UpdateOpenIDConnectProviderThumbprint operation. /// /// /// Container for the necessary parameters to execute the UpdateOpenIDConnectProviderThumbprint operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UpdateOpenIDConnectProviderThumbprint Operation public virtual void UpdateOpenIDConnectProviderThumbprintAsync(UpdateOpenIDConnectProviderThumbprintRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateOpenIDConnectProviderThumbprintRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateOpenIDConnectProviderThumbprintResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateOpenIDConnectProviderThumbprintRequest)req, (UpdateOpenIDConnectProviderThumbprintResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateRole /// /// Initiates the asynchronous execution of the UpdateRole operation. /// /// /// Container for the necessary parameters to execute the UpdateRole operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UpdateRole Operation public virtual void UpdateRoleAsync(UpdateRoleRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateRoleRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateRoleResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateRoleRequest)req, (UpdateRoleResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateRoleDescription /// /// Initiates the asynchronous execution of the UpdateRoleDescription operation. /// /// /// Container for the necessary parameters to execute the UpdateRoleDescription operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UpdateRoleDescription Operation public virtual void UpdateRoleDescriptionAsync(UpdateRoleDescriptionRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateRoleDescriptionRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateRoleDescriptionResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateRoleDescriptionRequest)req, (UpdateRoleDescriptionResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateSAMLProvider /// /// Initiates the asynchronous execution of the UpdateSAMLProvider operation. /// /// /// Container for the necessary parameters to execute the UpdateSAMLProvider operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UpdateSAMLProvider Operation public virtual void UpdateSAMLProviderAsync(UpdateSAMLProviderRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateSAMLProviderRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateSAMLProviderResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateSAMLProviderRequest)req, (UpdateSAMLProviderResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateServerCertificate /// /// Initiates the asynchronous execution of the UpdateServerCertificate operation. /// /// /// Container for the necessary parameters to execute the UpdateServerCertificate operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UpdateServerCertificate Operation public virtual void UpdateServerCertificateAsync(UpdateServerCertificateRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateServerCertificateRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateServerCertificateResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateServerCertificateRequest)req, (UpdateServerCertificateResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateServiceSpecificCredential /// /// Initiates the asynchronous execution of the UpdateServiceSpecificCredential operation. /// /// /// Container for the necessary parameters to execute the UpdateServiceSpecificCredential operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UpdateServiceSpecificCredential Operation public virtual void UpdateServiceSpecificCredentialAsync(UpdateServiceSpecificCredentialRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateServiceSpecificCredentialRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateServiceSpecificCredentialResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateServiceSpecificCredentialRequest)req, (UpdateServiceSpecificCredentialResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateSigningCertificate /// /// Initiates the asynchronous execution of the UpdateSigningCertificate operation. /// /// /// Container for the necessary parameters to execute the UpdateSigningCertificate operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UpdateSigningCertificate Operation public virtual void UpdateSigningCertificateAsync(UpdateSigningCertificateRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateSigningCertificateRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateSigningCertificateResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateSigningCertificateRequest)req, (UpdateSigningCertificateResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateSSHPublicKey /// /// Initiates the asynchronous execution of the UpdateSSHPublicKey operation. /// /// /// Container for the necessary parameters to execute the UpdateSSHPublicKey operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UpdateSSHPublicKey Operation public virtual void UpdateSSHPublicKeyAsync(UpdateSSHPublicKeyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateSSHPublicKeyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateSSHPublicKeyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateSSHPublicKeyRequest)req, (UpdateSSHPublicKeyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UpdateUser /// /// Initiates the asynchronous execution of the UpdateUser operation. /// /// /// Container for the necessary parameters to execute the UpdateUser operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UpdateUser Operation public virtual void UpdateUserAsync(UpdateUserRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UpdateUserRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UpdateUserResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UpdateUserRequest)req, (UpdateUserResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UploadServerCertificate /// /// Initiates the asynchronous execution of the UploadServerCertificate operation. /// /// /// Container for the necessary parameters to execute the UploadServerCertificate operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UploadServerCertificate Operation public virtual void UploadServerCertificateAsync(UploadServerCertificateRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UploadServerCertificateRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UploadServerCertificateResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UploadServerCertificateRequest)req, (UploadServerCertificateResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UploadSigningCertificate /// /// Initiates the asynchronous execution of the UploadSigningCertificate operation. /// /// /// Container for the necessary parameters to execute the UploadSigningCertificate operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UploadSigningCertificate Operation public virtual void UploadSigningCertificateAsync(UploadSigningCertificateRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UploadSigningCertificateRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UploadSigningCertificateResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UploadSigningCertificateRequest)req, (UploadSigningCertificateResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion #region UploadSSHPublicKey /// /// Initiates the asynchronous execution of the UploadSSHPublicKey operation. /// /// /// Container for the necessary parameters to execute the UploadSSHPublicKey operation on AmazonIdentityManagementServiceClient. /// An Action 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. /// REST API Reference for UploadSSHPublicKey Operation public virtual void UploadSSHPublicKeyAsync(UploadSSHPublicKeyRequest request, AmazonServiceCallback callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var invokeOptions = new InvokeOptions(); invokeOptions.RequestMarshaller = UploadSSHPublicKeyRequestMarshaller.Instance; invokeOptions.ResponseUnmarshaller = UploadSSHPublicKeyResponseUnmarshaller.Instance; Action callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult responseObject = new AmazonServiceResult((UploadSSHPublicKeyRequest)req, (UploadSSHPublicKeyResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke(request, invokeOptions, options, callbackHelper); } #endregion } }