amazonka-cloudhsmv2-2.0: Amazon CloudHSM V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudHSMV2.ModifyBackupAttributes

Description

Modifies attributes for AWS CloudHSM backup.

Synopsis

Creating a Request

data ModifyBackupAttributes Source #

See: newModifyBackupAttributes smart constructor.

Constructors

ModifyBackupAttributes' 

Fields

  • backupId :: Text

    The identifier (ID) of the backup to modify. To find the ID of a backup, use the DescribeBackups operation.

  • neverExpires :: Bool

    Specifies whether the service should exempt a backup from the retention policy for the cluster. True exempts a backup from the retention policy. False means the service applies the backup retention policy defined at the cluster.

Instances

Instances details
ToJSON ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

ToHeaders ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

ToPath ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

ToQuery ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

AWSRequest ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Associated Types

type AWSResponse ModifyBackupAttributes #

Generic ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Associated Types

type Rep ModifyBackupAttributes :: Type -> Type #

Read ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Show ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

NFData ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Methods

rnf :: ModifyBackupAttributes -> () #

Eq ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Hashable ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

type AWSResponse ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

type Rep ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

type Rep ModifyBackupAttributes = D1 ('MetaData "ModifyBackupAttributes" "Amazonka.CloudHSMV2.ModifyBackupAttributes" "amazonka-cloudhsmv2-2.0-JPONnjzt63Q1wP3HCntyXZ" 'False) (C1 ('MetaCons "ModifyBackupAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "backupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "neverExpires") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newModifyBackupAttributes Source #

Create a value of ModifyBackupAttributes 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:

ModifyBackupAttributes, modifyBackupAttributes_backupId - The identifier (ID) of the backup to modify. To find the ID of a backup, use the DescribeBackups operation.

ModifyBackupAttributes, modifyBackupAttributes_neverExpires - Specifies whether the service should exempt a backup from the retention policy for the cluster. True exempts a backup from the retention policy. False means the service applies the backup retention policy defined at the cluster.

Request Lenses

modifyBackupAttributes_backupId :: Lens' ModifyBackupAttributes Text Source #

The identifier (ID) of the backup to modify. To find the ID of a backup, use the DescribeBackups operation.

modifyBackupAttributes_neverExpires :: Lens' ModifyBackupAttributes Bool Source #

Specifies whether the service should exempt a backup from the retention policy for the cluster. True exempts a backup from the retention policy. False means the service applies the backup retention policy defined at the cluster.

Destructuring the Response

data ModifyBackupAttributesResponse Source #

See: newModifyBackupAttributesResponse smart constructor.

Constructors

ModifyBackupAttributesResponse' 

Fields

Instances

Instances details
Generic ModifyBackupAttributesResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Associated Types

type Rep ModifyBackupAttributesResponse :: Type -> Type #

Read ModifyBackupAttributesResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Show ModifyBackupAttributesResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

NFData ModifyBackupAttributesResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Eq ModifyBackupAttributesResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

type Rep ModifyBackupAttributesResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

type Rep ModifyBackupAttributesResponse = D1 ('MetaData "ModifyBackupAttributesResponse" "Amazonka.CloudHSMV2.ModifyBackupAttributes" "amazonka-cloudhsmv2-2.0-JPONnjzt63Q1wP3HCntyXZ" 'False) (C1 ('MetaCons "ModifyBackupAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "backup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Backup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newModifyBackupAttributesResponse Source #

Create a value of ModifyBackupAttributesResponse 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:backup:ModifyBackupAttributesResponse', modifyBackupAttributesResponse_backup - Undocumented member.

$sel:httpStatus:ModifyBackupAttributesResponse', modifyBackupAttributesResponse_httpStatus - The response's http status code.

Response Lenses