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 specified lifecycle policy and halts the automated operations that the policy specified.
Synopsis
- data DeleteLifecyclePolicy = DeleteLifecyclePolicy' {}
- newDeleteLifecyclePolicy :: Text -> DeleteLifecyclePolicy
- deleteLifecyclePolicy_policyId :: Lens' DeleteLifecyclePolicy Text
- data DeleteLifecyclePolicyResponse = DeleteLifecyclePolicyResponse' {
- httpStatus :: Int
- newDeleteLifecyclePolicyResponse :: Int -> DeleteLifecyclePolicyResponse
- deleteLifecyclePolicyResponse_httpStatus :: Lens' DeleteLifecyclePolicyResponse Int
Creating a Request
data DeleteLifecyclePolicy Source #
See: newDeleteLifecyclePolicy
smart constructor.
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:policyId:DeleteLifecyclePolicy'
, deleteLifecyclePolicy_policyId
- The identifier of the lifecycle policy.
Request Lenses
deleteLifecyclePolicy_policyId :: Lens' DeleteLifecyclePolicy Text Source #
The identifier of the lifecycle policy.
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:httpStatus:DeleteLifecyclePolicyResponse'
, deleteLifecyclePolicyResponse_httpStatus
- The response's http status code.
Response Lenses
deleteLifecyclePolicyResponse_httpStatus :: Lens' DeleteLifecyclePolicyResponse Int Source #
The response's http status code.