async fn get_registry_policy(
        &self,
    ) -> Result<GetRegistryPolicyResponse, RusotoError<GetRegistryPolicyError>> {
        let mut request = self.new_signed_request("POST", "/");
        request.add_header(
            "x-amz-target",
            "AmazonEC2ContainerRegistry_V20150921.GetRegistryPolicy",
        );
        request.set_payload(Some(bytes::Bytes::from_static(b"{}")));

        let response = self
            .sign_and_dispatch(request, GetRegistryPolicyError::from_response)
            .await?;
        let mut response = response;
        let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?;
        proto::json::ResponsePayload::new(&response).deserialize::<GetRegistryPolicyResponse, _>()
    }
<p>Retrieves the permissions policy for a registry.</p>
rusoto/services/ecr/src/generated.rs