Amazon.CloudFront.AmazonCloudFrontClient.GetCloudFrontOriginAccessIdentityAsync C# (CSharp) Method

GetCloudFrontOriginAccessIdentityAsync() public method

Initiates the asynchronous execution of the GetCloudFrontOriginAccessIdentity operation.
public GetCloudFrontOriginAccessIdentityAsync ( GetCloudFrontOriginAccessIdentityRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CloudFront.Model.GetCloudFrontOriginAccessIdentityRequest Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentity operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<GetCloudFrontOriginAccessIdentityResponse> GetCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new GetCloudFrontOriginAccessIdentityRequestMarshaller();
            var unmarshaller = GetCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance;

            return InvokeAsync<GetCloudFrontOriginAccessIdentityRequest,GetCloudFrontOriginAccessIdentityResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonCloudFrontClient::GetCloudFrontOriginAccessIdentityAsync ( System cancellationToken = default(CancellationToken) ) : Task
AmazonCloudFrontClient