Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes the repository policy from a specified repository.
- deleteRepositoryPolicy :: Text -> DeleteRepositoryPolicy
- data DeleteRepositoryPolicy
- drpRegistryId :: Lens' DeleteRepositoryPolicy (Maybe Text)
- drpRepositoryName :: Lens' DeleteRepositoryPolicy Text
- deleteRepositoryPolicyResponse :: Int -> DeleteRepositoryPolicyResponse
- data DeleteRepositoryPolicyResponse
- drprsRegistryId :: Lens' DeleteRepositoryPolicyResponse (Maybe Text)
- drprsRepositoryName :: Lens' DeleteRepositoryPolicyResponse (Maybe Text)
- drprsPolicyText :: Lens' DeleteRepositoryPolicyResponse (Maybe Text)
- drprsResponseStatus :: Lens' DeleteRepositoryPolicyResponse Int
Creating a Request
deleteRepositoryPolicy Source #
Creates a value of DeleteRepositoryPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drpRegistryId
- The AWS 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.drpRepositoryName
- The name of the repository that is associated with the repository policy to delete.
data DeleteRepositoryPolicy Source #
See: deleteRepositoryPolicy
smart constructor.
Request Lenses
drpRegistryId :: Lens' DeleteRepositoryPolicy (Maybe Text) Source #
The AWS 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.
drpRepositoryName :: Lens' DeleteRepositoryPolicy Text Source #
The name of the repository that is associated with the repository policy to delete.
Destructuring the Response
deleteRepositoryPolicyResponse Source #
Creates a value of DeleteRepositoryPolicyResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drprsRegistryId
- The registry ID associated with the request.drprsRepositoryName
- The repository name associated with the request.drprsPolicyText
- The JSON repository policy that was deleted from the repository.drprsResponseStatus
- -- | The response status code.
data DeleteRepositoryPolicyResponse Source #
See: deleteRepositoryPolicyResponse
smart constructor.
Response Lenses
drprsRegistryId :: Lens' DeleteRepositoryPolicyResponse (Maybe Text) Source #
The registry ID associated with the request.
drprsRepositoryName :: Lens' DeleteRepositoryPolicyResponse (Maybe Text) Source #
The repository name associated with the request.
drprsPolicyText :: Lens' DeleteRepositoryPolicyResponse (Maybe Text) Source #
The JSON repository policy that was deleted from the repository.
drprsResponseStatus :: Lens' DeleteRepositoryPolicyResponse Int Source #
- - | The response status code.