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 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.
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:
$sel:gatewayARN: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.
DeleteAutomaticTapeCreationPolicyResponse' | |
|
Instances
Eq DeleteAutomaticTapeCreationPolicyResponse Source # | |
Read DeleteAutomaticTapeCreationPolicyResponse Source # | |
Show DeleteAutomaticTapeCreationPolicyResponse Source # | |
Generic DeleteAutomaticTapeCreationPolicyResponse Source # | |
NFData DeleteAutomaticTapeCreationPolicyResponse Source # | |
type Rep DeleteAutomaticTapeCreationPolicyResponse Source # | |
Defined in Amazonka.StorageGateway.DeleteAutomaticTapeCreationPolicy type Rep DeleteAutomaticTapeCreationPolicyResponse = D1 ('MetaData "DeleteAutomaticTapeCreationPolicyResponse" "Amazonka.StorageGateway.DeleteAutomaticTapeCreationPolicy" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "DeleteAutomaticTapeCreationPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteAutomaticTapeCreationPolicyResponse Source #
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:
$sel:gatewayARN: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.