Amazon.IdentityManagement.AmazonIdentityManagementServiceClient.PutRolePolicyAsync C# (CSharp) Method

PutRolePolicyAsync() public method

Initiates the asynchronous execution of the PutRolePolicy operation.
public PutRolePolicyAsync ( PutRolePolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request PutRolePolicyRequest Container for the necessary parameters to execute the PutRolePolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<PutRolePolicyResponse> PutRolePolicyAsync(PutRolePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new PutRolePolicyRequestMarshaller();
            var unmarshaller = PutRolePolicyResponseUnmarshaller.Instance;

            return InvokeAsync<PutRolePolicyRequest,PutRolePolicyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIdentityManagementServiceClient::PutRolePolicyAsync ( PutRolePolicyRequest request, PutRolePolicyResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonIdentityManagementServiceClient