Amazon.CloudFront.AmazonCloudFrontClient.GetCloudFrontOriginAccessIdentityConfigAsync C# (CSharp) Méthode

GetCloudFrontOriginAccessIdentityConfigAsync() public méthode

Initiates the asynchronous execution of the GetCloudFrontOriginAccessIdentityConfig operation.
public GetCloudFrontOriginAccessIdentityConfigAsync ( GetCloudFrontOriginAccessIdentityConfigRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CloudFront.Model.GetCloudFrontOriginAccessIdentityConfigRequest Container for the necessary parameters to execute the GetCloudFrontOriginAccessIdentityConfig operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Résultat Task
        public Task<GetCloudFrontOriginAccessIdentityConfigResponse> GetCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new GetCloudFrontOriginAccessIdentityConfigRequestMarshaller();
            var unmarshaller = GetCloudFrontOriginAccessIdentityConfigResponseUnmarshaller.Instance;

            return InvokeAsync<GetCloudFrontOriginAccessIdentityConfigRequest,GetCloudFrontOriginAccessIdentityConfigResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

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