Amazon.CloudFront.AmazonCloudFrontClient.CreateCloudFrontOriginAccessIdentityAsync C# (CSharp) Метод

CreateCloudFrontOriginAccessIdentityAsync() публичный Метод

Initiates the asynchronous execution of the CreateCloudFrontOriginAccessIdentity operation.
public CreateCloudFrontOriginAccessIdentityAsync ( CreateCloudFrontOriginAccessIdentityRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CloudFront.Model.CreateCloudFrontOriginAccessIdentityRequest Container for the necessary parameters to execute the CreateCloudFrontOriginAccessIdentity operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<CreateCloudFrontOriginAccessIdentityResponse> CreateCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateCloudFrontOriginAccessIdentityRequestMarshaller();
            var unmarshaller = CreateCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance;

            return InvokeAsync<CreateCloudFrontOriginAccessIdentityRequest,CreateCloudFrontOriginAccessIdentityResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCloudFrontClient