public GetRepositoryPolicyAsync ( Amazon.ECR.Model.GetRepositoryPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task |
||
request | Amazon.ECR.Model.GetRepositoryPolicyRequest | Container for the necessary parameters to execute the GetRepositoryPolicy operation. |
cancellationToken | System | /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// |
return | Task |
public Task<GetRepositoryPolicyResponse> GetRepositoryPolicyAsync(GetRepositoryPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var marshaller = new GetRepositoryPolicyRequestMarshaller();
var unmarshaller = GetRepositoryPolicyResponseUnmarshaller.Instance;
return InvokeAsync<GetRepositoryPolicyRequest,GetRepositoryPolicyResponse>(request, marshaller,
unmarshaller, cancellationToken);
}