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

SimulateCustomPolicyAsync() public method

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

            return InvokeAsync<SimulateCustomPolicyRequest,SimulateCustomPolicyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIdentityManagementServiceClient::SimulateCustomPolicyAsync ( SimulateCustomPolicyRequest request, SimulateCustomPolicyResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonIdentityManagementServiceClient