AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::CloudHSMV2::Types::ModifyBackupAttributesRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb

Overview

Note:

When making an API call, you may pass ModifyBackupAttributesRequest data as a hash:

{
  backup_id: "BackupId", # required
  never_expires: false, # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#backup_idString

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

Returns:

  • (String)


982
983
984
985
986
987
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 982

class ModifyBackupAttributesRequest < Struct.new(
  :backup_id,
  :never_expires)
  SENSITIVE = []
  include Aws::Structure
end

#never_expiresBoolean

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.

Returns:

  • (Boolean)


982
983
984
985
986
987
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 982

class ModifyBackupAttributesRequest < Struct.new(
  :backup_id,
  :never_expires)
  SENSITIVE = []
  include Aws::Structure
end