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 lifecycle policy associated with the specified repository.
Synopsis
- data DeleteLifecyclePolicy = DeleteLifecyclePolicy' {}
- newDeleteLifecyclePolicy :: Text -> DeleteLifecyclePolicy
- deleteLifecyclePolicy_registryId :: Lens' DeleteLifecyclePolicy (Maybe Text)
- deleteLifecyclePolicy_repositoryName :: Lens' DeleteLifecyclePolicy Text
- data DeleteLifecyclePolicyResponse = DeleteLifecyclePolicyResponse' {}
- newDeleteLifecyclePolicyResponse :: Int -> DeleteLifecyclePolicyResponse
- deleteLifecyclePolicyResponse_registryId :: Lens' DeleteLifecyclePolicyResponse (Maybe Text)
- deleteLifecyclePolicyResponse_lastEvaluatedAt :: Lens' DeleteLifecyclePolicyResponse (Maybe UTCTime)
- deleteLifecyclePolicyResponse_lifecyclePolicyText :: Lens' DeleteLifecyclePolicyResponse (Maybe Text)
- deleteLifecyclePolicyResponse_repositoryName :: Lens' DeleteLifecyclePolicyResponse (Maybe Text)
- deleteLifecyclePolicyResponse_httpStatus :: Lens' DeleteLifecyclePolicyResponse Int
Creating a Request
data DeleteLifecyclePolicy Source #
See: newDeleteLifecyclePolicy
smart constructor.
DeleteLifecyclePolicy' | |
|
Instances
newDeleteLifecyclePolicy Source #
Create a value of DeleteLifecyclePolicy
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:DeleteLifecyclePolicy'
, deleteLifecyclePolicy_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository. If you do not specify a registry, the default
registry is assumed.
$sel:repositoryName:DeleteLifecyclePolicy'
, deleteLifecyclePolicy_repositoryName
- The name of the repository.
Request Lenses
deleteLifecyclePolicy_registryId :: Lens' DeleteLifecyclePolicy (Maybe Text) Source #
The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
deleteLifecyclePolicy_repositoryName :: Lens' DeleteLifecyclePolicy Text Source #
The name of the repository.
Destructuring the Response
data DeleteLifecyclePolicyResponse Source #
See: newDeleteLifecyclePolicyResponse
smart constructor.
DeleteLifecyclePolicyResponse' | |
|
Instances
newDeleteLifecyclePolicyResponse Source #
Create a value of DeleteLifecyclePolicyResponse
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:DeleteLifecyclePolicy'
, deleteLifecyclePolicyResponse_registryId
- The registry ID associated with the request.
$sel:lastEvaluatedAt:DeleteLifecyclePolicyResponse'
, deleteLifecyclePolicyResponse_lastEvaluatedAt
- The time stamp of the last time that the lifecycle policy was run.
$sel:lifecyclePolicyText:DeleteLifecyclePolicyResponse'
, deleteLifecyclePolicyResponse_lifecyclePolicyText
- The JSON lifecycle policy text.
$sel:repositoryName:DeleteLifecyclePolicy'
, deleteLifecyclePolicyResponse_repositoryName
- The repository name associated with the request.
$sel:httpStatus:DeleteLifecyclePolicyResponse'
, deleteLifecyclePolicyResponse_httpStatus
- The response's http status code.
Response Lenses
deleteLifecyclePolicyResponse_registryId :: Lens' DeleteLifecyclePolicyResponse (Maybe Text) Source #
The registry ID associated with the request.
deleteLifecyclePolicyResponse_lastEvaluatedAt :: Lens' DeleteLifecyclePolicyResponse (Maybe UTCTime) Source #
The time stamp of the last time that the lifecycle policy was run.
deleteLifecyclePolicyResponse_lifecyclePolicyText :: Lens' DeleteLifecyclePolicyResponse (Maybe Text) Source #
The JSON lifecycle policy text.
deleteLifecyclePolicyResponse_repositoryName :: Lens' DeleteLifecyclePolicyResponse (Maybe Text) Source #
The repository name associated with the request.
deleteLifecyclePolicyResponse_httpStatus :: Lens' DeleteLifecyclePolicyResponse Int Source #
The response's http status code.