| 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.MediaStore.DeleteLifecyclePolicy
Description
Removes an object lifecycle policy from a container. It takes up to 20 minutes for the change to take effect.
Synopsis
- data DeleteLifecyclePolicy = DeleteLifecyclePolicy' {}
- newDeleteLifecyclePolicy :: Text -> DeleteLifecyclePolicy
- deleteLifecyclePolicy_containerName :: 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.
Constructors
| DeleteLifecyclePolicy' | |
Fields
| |
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:containerName:DeleteLifecyclePolicy', deleteLifecyclePolicy_containerName - The name of the container that holds the object lifecycle policy.
Request Lenses
deleteLifecyclePolicy_containerName :: Lens' DeleteLifecyclePolicy Text Source #
The name of the container that holds the object lifecycle policy.
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:httpStatus:DeleteLifecyclePolicyResponse', deleteLifecyclePolicyResponse_httpStatus - The response's http status code.
Response Lenses
deleteLifecyclePolicyResponse_httpStatus :: Lens' DeleteLifecyclePolicyResponse Int Source #
The response's http status code.