Amazon.ElasticMapReduce.AmazonElasticMapReduceClient.AddInstanceGroupsAsync C# (CSharp) Method

AddInstanceGroupsAsync() public method

Initiates the asynchronous execution of the AddInstanceGroups operation.
public AddInstanceGroupsAsync ( AddInstanceGroupsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticMapReduce.Model.AddInstanceGroupsRequest Container for the necessary parameters to execute the AddInstanceGroups operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<AddInstanceGroupsResponse> AddInstanceGroupsAsync(AddInstanceGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new AddInstanceGroupsRequestMarshaller();
            var unmarshaller = AddInstanceGroupsResponseUnmarshaller.Instance;

            return InvokeAsync<AddInstanceGroupsRequest,AddInstanceGroupsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonElasticMapReduceClient