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

GetRolePolicyAsync() public method

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

            return InvokeAsync<GetRolePolicyRequest,GetRolePolicyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIdentityManagementServiceClient::GetRolePolicyAsync ( GetRolePolicyRequest request, GetRolePolicyResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonIdentityManagementServiceClient