| 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.DeleteContainerPolicy
Description
Deletes the access policy that is associated with the specified container.
Synopsis
- data DeleteContainerPolicy = DeleteContainerPolicy' {}
- newDeleteContainerPolicy :: Text -> DeleteContainerPolicy
- deleteContainerPolicy_containerName :: Lens' DeleteContainerPolicy Text
- data DeleteContainerPolicyResponse = DeleteContainerPolicyResponse' {
- httpStatus :: Int
- newDeleteContainerPolicyResponse :: Int -> DeleteContainerPolicyResponse
- deleteContainerPolicyResponse_httpStatus :: Lens' DeleteContainerPolicyResponse Int
Creating a Request
data DeleteContainerPolicy Source #
See: newDeleteContainerPolicy smart constructor.
Constructors
| DeleteContainerPolicy' | |
Fields
| |
Instances
newDeleteContainerPolicy Source #
Create a value of DeleteContainerPolicy 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:DeleteContainerPolicy', deleteContainerPolicy_containerName - The name of the container that holds the policy.
Request Lenses
deleteContainerPolicy_containerName :: Lens' DeleteContainerPolicy Text Source #
The name of the container that holds the policy.
Destructuring the Response
data DeleteContainerPolicyResponse Source #
See: newDeleteContainerPolicyResponse smart constructor.
Constructors
| DeleteContainerPolicyResponse' | |
Fields
| |
Instances
newDeleteContainerPolicyResponse Source #
Create a value of DeleteContainerPolicyResponse 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:DeleteContainerPolicyResponse', deleteContainerPolicyResponse_httpStatus - The response's http status code.
Response Lenses
deleteContainerPolicyResponse_httpStatus :: Lens' DeleteContainerPolicyResponse Int Source #
The response's http status code.