| 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 |
Amazonka.ECR.DeleteLifecyclePolicy
Description
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_lastEvaluatedAt :: Lens' DeleteLifecyclePolicyResponse (Maybe UTCTime)
- deleteLifecyclePolicyResponse_lifecyclePolicyText :: Lens' DeleteLifecyclePolicyResponse (Maybe Text)
- deleteLifecyclePolicyResponse_registryId :: 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.
Constructors
| DeleteLifecyclePolicy' | |
Fields
| |
Instances
newDeleteLifecyclePolicy Source #
Arguments
| :: Text | |
| -> DeleteLifecyclePolicy |
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:
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.
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.
Constructors
| DeleteLifecyclePolicyResponse' | |
Fields
| |
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: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.
DeleteLifecyclePolicy, deleteLifecyclePolicyResponse_registryId - The registry ID associated with the request.
DeleteLifecyclePolicy, deleteLifecyclePolicyResponse_repositoryName - The repository name associated with the request.
$sel:httpStatus:DeleteLifecyclePolicyResponse', deleteLifecyclePolicyResponse_httpStatus - The response's http status code.
Response Lenses
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_registryId :: Lens' DeleteLifecyclePolicyResponse (Maybe Text) Source #
The registry ID associated with the request.
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.