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 |
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.
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: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.
DeleteLifecyclePolicyResponse' | |
|
Instances
Generic DeleteLifecyclePolicyResponse Source # | |
Read DeleteLifecyclePolicyResponse Source # | |
Show DeleteLifecyclePolicyResponse Source # | |
Defined in Amazonka.MediaStore.DeleteLifecyclePolicy showsPrec :: Int -> DeleteLifecyclePolicyResponse -> ShowS # show :: DeleteLifecyclePolicyResponse -> String # showList :: [DeleteLifecyclePolicyResponse] -> ShowS # | |
NFData DeleteLifecyclePolicyResponse Source # | |
Defined in Amazonka.MediaStore.DeleteLifecyclePolicy rnf :: DeleteLifecyclePolicyResponse -> () # | |
Eq DeleteLifecyclePolicyResponse Source # | |
type Rep DeleteLifecyclePolicyResponse Source # | |
Defined in Amazonka.MediaStore.DeleteLifecyclePolicy type Rep DeleteLifecyclePolicyResponse = D1 ('MetaData "DeleteLifecyclePolicyResponse" "Amazonka.MediaStore.DeleteLifecyclePolicy" "amazonka-mediastore-2.0-BBurv4SFAUa5diuD6Q5z4D" 'False) (C1 ('MetaCons "DeleteLifecyclePolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.