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

GetRepositoryPolicy() public method

Retrieves the repository policy for a specified repository.
/// The specified parameter is invalid. Review the available parameters for the API request. /// /// 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. /// /// The specified repository and registry combination does not have an associated repository /// policy. /// /// These errors are usually caused by a server-side issue. ///
public GetRepositoryPolicy ( Amazon.ECR.Model.GetRepositoryPolicyRequest request ) : GetRepositoryPolicyResponse
request Amazon.ECR.Model.GetRepositoryPolicyRequest Container for the necessary parameters to execute the GetRepositoryPolicy service method.
return Amazon.ECR.Model.GetRepositoryPolicyResponse
        public GetRepositoryPolicyResponse GetRepositoryPolicy(GetRepositoryPolicyRequest request)
        {
            var marshaller = new GetRepositoryPolicyRequestMarshaller();
            var unmarshaller = GetRepositoryPolicyResponseUnmarshaller.Instance;

            return Invoke<GetRepositoryPolicyRequest,GetRepositoryPolicyResponse>(request, marshaller, unmarshaller);
        }
AmazonECRClient