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 |
Deletes the repository policy associated with the specified repository.
Synopsis
- data DeleteRepositoryPolicy = DeleteRepositoryPolicy' {}
- newDeleteRepositoryPolicy :: Text -> DeleteRepositoryPolicy
- deleteRepositoryPolicy_registryId :: Lens' DeleteRepositoryPolicy (Maybe Text)
- deleteRepositoryPolicy_repositoryName :: Lens' DeleteRepositoryPolicy Text
- data DeleteRepositoryPolicyResponse = DeleteRepositoryPolicyResponse' {
- registryId :: Maybe Text
- repositoryName :: Maybe Text
- policyText :: Maybe Text
- httpStatus :: Int
- newDeleteRepositoryPolicyResponse :: Int -> DeleteRepositoryPolicyResponse
- deleteRepositoryPolicyResponse_registryId :: Lens' DeleteRepositoryPolicyResponse (Maybe Text)
- deleteRepositoryPolicyResponse_repositoryName :: Lens' DeleteRepositoryPolicyResponse (Maybe Text)
- deleteRepositoryPolicyResponse_policyText :: Lens' DeleteRepositoryPolicyResponse (Maybe Text)
- deleteRepositoryPolicyResponse_httpStatus :: Lens' DeleteRepositoryPolicyResponse Int
Creating a Request
data DeleteRepositoryPolicy Source #
See: newDeleteRepositoryPolicy
smart constructor.
DeleteRepositoryPolicy' | |
|
Instances
newDeleteRepositoryPolicy Source #
Create a value of DeleteRepositoryPolicy
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:DeleteRepositoryPolicy'
, deleteRepositoryPolicy_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository policy to delete. If you do not specify a
registry, the default registry is assumed.
$sel:repositoryName:DeleteRepositoryPolicy'
, deleteRepositoryPolicy_repositoryName
- The name of the repository that is associated with the repository policy
to delete.
Request Lenses
deleteRepositoryPolicy_registryId :: Lens' DeleteRepositoryPolicy (Maybe Text) Source #
The Amazon Web Services account ID associated with the registry that contains the repository policy to delete. If you do not specify a registry, the default registry is assumed.
deleteRepositoryPolicy_repositoryName :: Lens' DeleteRepositoryPolicy Text Source #
The name of the repository that is associated with the repository policy to delete.
Destructuring the Response
data DeleteRepositoryPolicyResponse Source #
See: newDeleteRepositoryPolicyResponse
smart constructor.
DeleteRepositoryPolicyResponse' | |
|
Instances
newDeleteRepositoryPolicyResponse Source #
Create a value of DeleteRepositoryPolicyResponse
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:DeleteRepositoryPolicy'
, deleteRepositoryPolicyResponse_registryId
- The registry ID associated with the request.
$sel:repositoryName:DeleteRepositoryPolicy'
, deleteRepositoryPolicyResponse_repositoryName
- The repository name associated with the request.
$sel:policyText:DeleteRepositoryPolicyResponse'
, deleteRepositoryPolicyResponse_policyText
- The JSON repository policy that was deleted from the repository.
$sel:httpStatus:DeleteRepositoryPolicyResponse'
, deleteRepositoryPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
deleteRepositoryPolicyResponse_registryId :: Lens' DeleteRepositoryPolicyResponse (Maybe Text) Source #
The registry ID associated with the request.
deleteRepositoryPolicyResponse_repositoryName :: Lens' DeleteRepositoryPolicyResponse (Maybe Text) Source #
The repository name associated with the request.
deleteRepositoryPolicyResponse_policyText :: Lens' DeleteRepositoryPolicyResponse (Maybe Text) Source #
The JSON repository policy that was deleted from the repository.
deleteRepositoryPolicyResponse_httpStatus :: Lens' DeleteRepositoryPolicyResponse Int Source #
The response's http status code.