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

DeleteRepositoryPolicy() public method

Deletes the repository policy from 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 DeleteRepositoryPolicy ( Amazon.ECR.Model.DeleteRepositoryPolicyRequest request ) : DeleteRepositoryPolicyResponse
request Amazon.ECR.Model.DeleteRepositoryPolicyRequest Container for the necessary parameters to execute the DeleteRepositoryPolicy service method.
return Amazon.ECR.Model.DeleteRepositoryPolicyResponse
        public DeleteRepositoryPolicyResponse DeleteRepositoryPolicy(DeleteRepositoryPolicyRequest request)
        {
            var marshaller = new DeleteRepositoryPolicyRequestMarshaller();
            var unmarshaller = DeleteRepositoryPolicyResponseUnmarshaller.Instance;

            return Invoke<DeleteRepositoryPolicyRequest,DeleteRepositoryPolicyResponse>(request, marshaller, unmarshaller);
        }
AmazonECRClient