Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Deletes the specified lifecycle policy.
Synopsis
- deleteLifecyclePolicy :: Text -> DeleteLifecyclePolicy
- data DeleteLifecyclePolicy
- dlpRegistryId :: Lens' DeleteLifecyclePolicy (Maybe Text)
- dlpRepositoryName :: Lens' DeleteLifecyclePolicy Text
- deleteLifecyclePolicyResponse :: Int -> DeleteLifecyclePolicyResponse
- data DeleteLifecyclePolicyResponse
- dlprsRegistryId :: Lens' DeleteLifecyclePolicyResponse (Maybe Text)
- dlprsLastEvaluatedAt :: Lens' DeleteLifecyclePolicyResponse (Maybe UTCTime)
- dlprsLifecyclePolicyText :: Lens' DeleteLifecyclePolicyResponse (Maybe Text)
- dlprsRepositoryName :: Lens' DeleteLifecyclePolicyResponse (Maybe Text)
- dlprsResponseStatus :: Lens' DeleteLifecyclePolicyResponse Int
Creating a Request
deleteLifecyclePolicy Source #
Creates a value of DeleteLifecyclePolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dlpRegistryId
- The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.dlpRepositoryName
- The name of the repository.
data DeleteLifecyclePolicy Source #
See: deleteLifecyclePolicy
smart constructor.
Instances
Request Lenses
dlpRegistryId :: Lens' DeleteLifecyclePolicy (Maybe Text) Source #
The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
dlpRepositoryName :: Lens' DeleteLifecyclePolicy Text Source #
The name of the repository.
Destructuring the Response
deleteLifecyclePolicyResponse Source #
Creates a value of DeleteLifecyclePolicyResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dlprsRegistryId
- The registry ID associated with the request.dlprsLastEvaluatedAt
- The time stamp of the last time that the lifecycle policy was run.dlprsLifecyclePolicyText
- The JSON lifecycle policy text.dlprsRepositoryName
- The repository name associated with the request.dlprsResponseStatus
- -- | The response status code.
data DeleteLifecyclePolicyResponse Source #
See: deleteLifecyclePolicyResponse
smart constructor.
Instances
Response Lenses
dlprsRegistryId :: Lens' DeleteLifecyclePolicyResponse (Maybe Text) Source #
The registry ID associated with the request.
dlprsLastEvaluatedAt :: Lens' DeleteLifecyclePolicyResponse (Maybe UTCTime) Source #
The time stamp of the last time that the lifecycle policy was run.
dlprsLifecyclePolicyText :: Lens' DeleteLifecyclePolicyResponse (Maybe Text) Source #
The JSON lifecycle policy text.
dlprsRepositoryName :: Lens' DeleteLifecyclePolicyResponse (Maybe Text) Source #
The repository name associated with the request.
dlprsResponseStatus :: Lens' DeleteLifecyclePolicyResponse Int Source #
- - | The response status code.