Amazon.ECR.AmazonECRClient.GetDownloadUrlForLayer C# (CSharp) Method

GetDownloadUrlForLayer() public method

Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can only get URLs for image layers that are referenced in an image.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

/// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified layer is not available because it is not associated with an image. Unassociated /// image layers may be cleaned up at any time. /// /// The specified layers could not be found, or the specified layer is not valid for this /// repository. /// /// The specified repository could not be found. Check the spelling of the specified repository /// and ensure that you are performing operations on the correct registry. /// /// These errors are usually caused by a server-side issue. ///
public GetDownloadUrlForLayer ( GetDownloadUrlForLayerRequest request ) : GetDownloadUrlForLayerResponse
request Amazon.ECR.Model.GetDownloadUrlForLayerRequest Container for the necessary parameters to execute the GetDownloadUrlForLayer service method.
return Amazon.ECR.Model.GetDownloadUrlForLayerResponse
        public GetDownloadUrlForLayerResponse GetDownloadUrlForLayer(GetDownloadUrlForLayerRequest request)
        {
            var marshaller = new GetDownloadUrlForLayerRequestMarshaller();
            var unmarshaller = GetDownloadUrlForLayerResponseUnmarshaller.Instance;

            return Invoke<GetDownloadUrlForLayerRequest,GetDownloadUrlForLayerResponse>(request, marshaller, unmarshaller);
        }
AmazonECRClient