Amazon.EC2.AmazonEC2Client.CreatePlacementGroupAsync C# (CSharp) Method

CreatePlacementGroupAsync() public method

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

            return InvokeAsync<CreatePlacementGroupRequest,CreatePlacementGroupResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client