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 |
Returns the resource policy that is set on a repository.
Synopsis
- data GetRepositoryPermissionsPolicy = GetRepositoryPermissionsPolicy' {
- domainOwner :: Maybe Text
- domain :: Text
- repository :: Text
- newGetRepositoryPermissionsPolicy :: Text -> Text -> GetRepositoryPermissionsPolicy
- getRepositoryPermissionsPolicy_domainOwner :: Lens' GetRepositoryPermissionsPolicy (Maybe Text)
- getRepositoryPermissionsPolicy_domain :: Lens' GetRepositoryPermissionsPolicy Text
- getRepositoryPermissionsPolicy_repository :: Lens' GetRepositoryPermissionsPolicy Text
- data GetRepositoryPermissionsPolicyResponse = GetRepositoryPermissionsPolicyResponse' {}
- newGetRepositoryPermissionsPolicyResponse :: Int -> GetRepositoryPermissionsPolicyResponse
- getRepositoryPermissionsPolicyResponse_policy :: Lens' GetRepositoryPermissionsPolicyResponse (Maybe ResourcePolicy)
- getRepositoryPermissionsPolicyResponse_httpStatus :: Lens' GetRepositoryPermissionsPolicyResponse Int
Creating a Request
data GetRepositoryPermissionsPolicy Source #
See: newGetRepositoryPermissionsPolicy
smart constructor.
GetRepositoryPermissionsPolicy' | |
|
Instances
newGetRepositoryPermissionsPolicy Source #
Create a value of GetRepositoryPermissionsPolicy
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:domainOwner:GetRepositoryPermissionsPolicy'
, getRepositoryPermissionsPolicy_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:GetRepositoryPermissionsPolicy'
, getRepositoryPermissionsPolicy_domain
- The name of the domain containing the repository whose associated
resource policy is to be retrieved.
$sel:repository:GetRepositoryPermissionsPolicy'
, getRepositoryPermissionsPolicy_repository
- The name of the repository whose associated resource policy is to be
retrieved.
Request Lenses
getRepositoryPermissionsPolicy_domainOwner :: Lens' GetRepositoryPermissionsPolicy (Maybe Text) Source #
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
getRepositoryPermissionsPolicy_domain :: Lens' GetRepositoryPermissionsPolicy Text Source #
The name of the domain containing the repository whose associated resource policy is to be retrieved.
getRepositoryPermissionsPolicy_repository :: Lens' GetRepositoryPermissionsPolicy Text Source #
The name of the repository whose associated resource policy is to be retrieved.
Destructuring the Response
data GetRepositoryPermissionsPolicyResponse Source #
See: newGetRepositoryPermissionsPolicyResponse
smart constructor.
GetRepositoryPermissionsPolicyResponse' | |
|
Instances
newGetRepositoryPermissionsPolicyResponse Source #
Create a value of GetRepositoryPermissionsPolicyResponse
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:policy:GetRepositoryPermissionsPolicyResponse'
, getRepositoryPermissionsPolicyResponse_policy
- The returned resource policy.
$sel:httpStatus:GetRepositoryPermissionsPolicyResponse'
, getRepositoryPermissionsPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
getRepositoryPermissionsPolicyResponse_policy :: Lens' GetRepositoryPermissionsPolicyResponse (Maybe ResourcePolicy) Source #
The returned resource policy.
getRepositoryPermissionsPolicyResponse_httpStatus :: Lens' GetRepositoryPermissionsPolicyResponse Int Source #
The response's http status code.