Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves the permissions policy for a registry.
Synopsis
- data GetRegistryPolicy = GetRegistryPolicy' {
- newGetRegistryPolicy :: GetRegistryPolicy
- data GetRegistryPolicyResponse = GetRegistryPolicyResponse' {
- registryId :: Maybe Text
- policyText :: Maybe Text
- httpStatus :: Int
- newGetRegistryPolicyResponse :: Int -> GetRegistryPolicyResponse
- getRegistryPolicyResponse_registryId :: Lens' GetRegistryPolicyResponse (Maybe Text)
- getRegistryPolicyResponse_policyText :: Lens' GetRegistryPolicyResponse (Maybe Text)
- getRegistryPolicyResponse_httpStatus :: Lens' GetRegistryPolicyResponse Int
Creating a Request
data GetRegistryPolicy Source #
See: newGetRegistryPolicy
smart constructor.
Instances
newGetRegistryPolicy :: GetRegistryPolicy Source #
Create a value of GetRegistryPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetRegistryPolicyResponse Source #
See: newGetRegistryPolicyResponse
smart constructor.
GetRegistryPolicyResponse' | |
|
Instances
newGetRegistryPolicyResponse Source #
Create a value of GetRegistryPolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:registryId:GetRegistryPolicyResponse'
, getRegistryPolicyResponse_registryId
- The ID of the registry.
$sel:policyText:GetRegistryPolicyResponse'
, getRegistryPolicyResponse_policyText
- The JSON text of the permissions policy for a registry.
$sel:httpStatus:GetRegistryPolicyResponse'
, getRegistryPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
getRegistryPolicyResponse_registryId :: Lens' GetRegistryPolicyResponse (Maybe Text) Source #
The ID of the registry.
getRegistryPolicyResponse_policyText :: Lens' GetRegistryPolicyResponse (Maybe Text) Source #
The JSON text of the permissions policy for a registry.
getRegistryPolicyResponse_httpStatus :: Lens' GetRegistryPolicyResponse Int Source #
The response's http status code.