| 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.StorageGateway.DeleteAutomaticTapeCreationPolicy
Description
Deletes the automatic tape creation policy of a gateway. If you delete this policy, new virtual tapes must be created manually. Use the Amazon Resource Name (ARN) of the gateway in your request to remove the policy.
Synopsis
- data DeleteAutomaticTapeCreationPolicy = DeleteAutomaticTapeCreationPolicy' {
- gatewayARN :: Text
- newDeleteAutomaticTapeCreationPolicy :: Text -> DeleteAutomaticTapeCreationPolicy
- deleteAutomaticTapeCreationPolicy_gatewayARN :: Lens' DeleteAutomaticTapeCreationPolicy Text
- data DeleteAutomaticTapeCreationPolicyResponse = DeleteAutomaticTapeCreationPolicyResponse' {
- gatewayARN :: Maybe Text
- httpStatus :: Int
- newDeleteAutomaticTapeCreationPolicyResponse :: Int -> DeleteAutomaticTapeCreationPolicyResponse
- deleteAutomaticTapeCreationPolicyResponse_gatewayARN :: Lens' DeleteAutomaticTapeCreationPolicyResponse (Maybe Text)
- deleteAutomaticTapeCreationPolicyResponse_httpStatus :: Lens' DeleteAutomaticTapeCreationPolicyResponse Int
Creating a Request
data DeleteAutomaticTapeCreationPolicy Source #
See: newDeleteAutomaticTapeCreationPolicy smart constructor.
Constructors
| DeleteAutomaticTapeCreationPolicy' | |
Fields
| |
Instances
newDeleteAutomaticTapeCreationPolicy Source #
Create a value of DeleteAutomaticTapeCreationPolicy 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:
DeleteAutomaticTapeCreationPolicy, deleteAutomaticTapeCreationPolicy_gatewayARN - Undocumented member.
Request Lenses
deleteAutomaticTapeCreationPolicy_gatewayARN :: Lens' DeleteAutomaticTapeCreationPolicy Text Source #
Undocumented member.
Destructuring the Response
data DeleteAutomaticTapeCreationPolicyResponse Source #
See: newDeleteAutomaticTapeCreationPolicyResponse smart constructor.
Constructors
| DeleteAutomaticTapeCreationPolicyResponse' | |
Fields
| |
Instances
newDeleteAutomaticTapeCreationPolicyResponse Source #
Arguments
| :: Int | |
| -> DeleteAutomaticTapeCreationPolicyResponse |
Create a value of DeleteAutomaticTapeCreationPolicyResponse 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:
DeleteAutomaticTapeCreationPolicy, deleteAutomaticTapeCreationPolicyResponse_gatewayARN - Undocumented member.
$sel:httpStatus:DeleteAutomaticTapeCreationPolicyResponse', deleteAutomaticTapeCreationPolicyResponse_httpStatus - The response's http status code.
Response Lenses
deleteAutomaticTapeCreationPolicyResponse_gatewayARN :: Lens' DeleteAutomaticTapeCreationPolicyResponse (Maybe Text) Source #
Undocumented member.
deleteAutomaticTapeCreationPolicyResponse_httpStatus :: Lens' DeleteAutomaticTapeCreationPolicyResponse Int Source #
The response's http status code.