libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

Description

Updates the automatic tape creation policy of a gateway. Use this to update the policy with a new set of automatic tape creation rules. This is only supported for tape gateways.

By default, there is no automatic tape creation policy.

A gateway can have only one automatic tape creation policy.

Synopsis

Creating a Request

data UpdateAutomaticTapeCreationPolicy Source #

See: newUpdateAutomaticTapeCreationPolicy smart constructor.

Constructors

UpdateAutomaticTapeCreationPolicy' 

Fields

Instances

Instances details
Eq UpdateAutomaticTapeCreationPolicy Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

Read UpdateAutomaticTapeCreationPolicy Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

Show UpdateAutomaticTapeCreationPolicy Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

Generic UpdateAutomaticTapeCreationPolicy Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

Associated Types

type Rep UpdateAutomaticTapeCreationPolicy :: Type -> Type #

NFData UpdateAutomaticTapeCreationPolicy Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

Hashable UpdateAutomaticTapeCreationPolicy Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

ToJSON UpdateAutomaticTapeCreationPolicy Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

AWSRequest UpdateAutomaticTapeCreationPolicy Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

ToHeaders UpdateAutomaticTapeCreationPolicy Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

ToPath UpdateAutomaticTapeCreationPolicy Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

ToQuery UpdateAutomaticTapeCreationPolicy Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

type Rep UpdateAutomaticTapeCreationPolicy Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

type Rep UpdateAutomaticTapeCreationPolicy = D1 ('MetaData "UpdateAutomaticTapeCreationPolicy" "Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "UpdateAutomaticTapeCreationPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "automaticTapeCreationRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty AutomaticTapeCreationRule)) :*: S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse UpdateAutomaticTapeCreationPolicy Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

newUpdateAutomaticTapeCreationPolicy Source #

Create a value of UpdateAutomaticTapeCreationPolicy 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:automaticTapeCreationRules:UpdateAutomaticTapeCreationPolicy', updateAutomaticTapeCreationPolicy_automaticTapeCreationRules - An automatic tape creation policy consists of a list of automatic tape creation rules. The rules determine when and how to automatically create new tapes.

$sel:gatewayARN:UpdateAutomaticTapeCreationPolicy', updateAutomaticTapeCreationPolicy_gatewayARN - Undocumented member.

Request Lenses

updateAutomaticTapeCreationPolicy_automaticTapeCreationRules :: Lens' UpdateAutomaticTapeCreationPolicy (NonEmpty AutomaticTapeCreationRule) Source #

An automatic tape creation policy consists of a list of automatic tape creation rules. The rules determine when and how to automatically create new tapes.

Destructuring the Response

data UpdateAutomaticTapeCreationPolicyResponse Source #

Constructors

UpdateAutomaticTapeCreationPolicyResponse' 

Fields

Instances

Instances details
Eq UpdateAutomaticTapeCreationPolicyResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

Read UpdateAutomaticTapeCreationPolicyResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

Show UpdateAutomaticTapeCreationPolicyResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

Generic UpdateAutomaticTapeCreationPolicyResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

NFData UpdateAutomaticTapeCreationPolicyResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

type Rep UpdateAutomaticTapeCreationPolicyResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy

type Rep UpdateAutomaticTapeCreationPolicyResponse = D1 ('MetaData "UpdateAutomaticTapeCreationPolicyResponse" "Amazonka.StorageGateway.UpdateAutomaticTapeCreationPolicy" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "UpdateAutomaticTapeCreationPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateAutomaticTapeCreationPolicyResponse Source #

Create a value of UpdateAutomaticTapeCreationPolicyResponse 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:UpdateAutomaticTapeCreationPolicy', updateAutomaticTapeCreationPolicyResponse_gatewayARN - Undocumented member.

$sel:httpStatus:UpdateAutomaticTapeCreationPolicyResponse', updateAutomaticTapeCreationPolicyResponse_httpStatus - The response's http status code.

Response Lenses