Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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' {
- policyText :: Maybe Text
- registryId :: Maybe Text
- repositoryName :: Maybe Text
- httpStatus :: Int
- newDeleteRepositoryPolicyResponse :: Int -> DeleteRepositoryPolicyResponse
- deleteRepositoryPolicyResponse_policyText :: Lens' DeleteRepositoryPolicyResponse (Maybe Text)
- deleteRepositoryPolicyResponse_registryId :: Lens' DeleteRepositoryPolicyResponse (Maybe Text)
- deleteRepositoryPolicyResponse_repositoryName :: 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:
DeleteRepositoryPolicy
, deleteRepositoryPolicy_registryId
- The AWS account ID associated with the public registry that contains the
repository policy to delete. If you do not specify a registry, the
default public registry is assumed.
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 AWS account ID associated with the public registry that contains the repository policy to delete. If you do not specify a registry, the default public 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:policyText:DeleteRepositoryPolicyResponse'
, deleteRepositoryPolicyResponse_policyText
- The JSON repository policy that was deleted from the repository.
DeleteRepositoryPolicy
, deleteRepositoryPolicyResponse_registryId
- The registry ID associated with the request.
DeleteRepositoryPolicy
, deleteRepositoryPolicyResponse_repositoryName
- The repository name associated with the request.
$sel:httpStatus:DeleteRepositoryPolicyResponse'
, deleteRepositoryPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
deleteRepositoryPolicyResponse_policyText :: Lens' DeleteRepositoryPolicyResponse (Maybe Text) Source #
The JSON repository policy that was deleted from the repository.
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_httpStatus :: Lens' DeleteRepositoryPolicyResponse Int Source #
The response's http status code.