Amazon.CodeCommit.AmazonCodeCommitClient.CreateRepositoryAsync C# (CSharp) Method

CreateRepositoryAsync() public method

Initiates the asynchronous execution of the CreateRepository operation.
public CreateRepositoryAsync ( CreateRepositoryRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.CreateRepositoryRequest Container for the necessary parameters to execute the CreateRepository operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<CreateRepositoryResponse> CreateRepositoryAsync(CreateRepositoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateRepositoryRequestMarshaller();
            var unmarshaller = CreateRepositoryResponseUnmarshaller.Instance;

            return InvokeAsync<CreateRepositoryRequest,CreateRepositoryResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }