libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2
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.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
Eq ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Read ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Show ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Generic ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Associated Types

type Rep ModifyBackupAttributes :: Type -> Type #

NFData ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Methods

rnf :: ModifyBackupAttributes -> () #

Hashable ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

ToJSON ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

AWSRequest ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Associated Types

type AWSResponse 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

type Rep ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

type Rep ModifyBackupAttributes = D1 ('MetaData "ModifyBackupAttributes" "Amazonka.CloudHSMV2.ModifyBackupAttributes" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" 'False) (C1 ('MetaCons "ModifyBackupAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "backupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "neverExpires") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))
type AWSResponse ModifyBackupAttributes Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

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:

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

$sel:neverExpires: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
Eq ModifyBackupAttributesResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Read ModifyBackupAttributesResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Show ModifyBackupAttributesResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Generic ModifyBackupAttributesResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.ModifyBackupAttributes

Associated Types

type Rep ModifyBackupAttributesResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" '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