Class: Aws::FSx::Types::CopySnapshotAndUpdateVolumeRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_request_tokenString

(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 1010

class CopySnapshotAndUpdateVolumeRequest < Struct.new(
  :client_request_token,
  :volume_id,
  :source_snapshot_arn,
  :copy_strategy,
  :options)
  SENSITIVE = []
  include Aws::Structure
end

#copy_strategyString

Specifies the strategy to use when copying data from a snapshot to the volume.

  • FULL_COPY - Copies all data from the snapshot to the volume.

  • INCREMENTAL_COPY - Copies only the snapshot data that's changed since the previous replication.

CLONE isn't a valid copy strategy option for the CopySnapshotAndUpdateVolume operation.

Returns:

  • (String)


1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 1010

class CopySnapshotAndUpdateVolumeRequest < Struct.new(
  :client_request_token,
  :volume_id,
  :source_snapshot_arn,
  :copy_strategy,
  :options)
  SENSITIVE = []
  include Aws::Structure
end

#optionsArray<String>

Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.

Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include DELETE_INTERMEDIATE_SNAPSHOTS and there are intermediate snapshots on the destination, you can’t copy the snapshot.

  • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots on the destination volume that aren’t on the source volume.

  • DELETE_CLONED_VOLUMES - Deletes snapshot clones on the destination volume that aren't on the source volume.

  • DELETE_INTERMEDIATE_DATA - Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.

Returns:

  • (Array<String>)


1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 1010

class CopySnapshotAndUpdateVolumeRequest < Struct.new(
  :client_request_token,
  :volume_id,
  :source_snapshot_arn,
  :copy_strategy,
  :options)
  SENSITIVE = []
  include Aws::Structure
end

#source_snapshot_arnString

The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services resources. We require an ARN when you need to specify a resource unambiguously across all of Amazon Web Services. For more information, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

Returns:

  • (String)


1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 1010

class CopySnapshotAndUpdateVolumeRequest < Struct.new(
  :client_request_token,
  :volume_id,
  :source_snapshot_arn,
  :copy_strategy,
  :options)
  SENSITIVE = []
  include Aws::Structure
end

#volume_idString

Specifies the ID of the volume that you are copying the snapshot to.

Returns:

  • (String)


1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 1010

class CopySnapshotAndUpdateVolumeRequest < Struct.new(
  :client_request_token,
  :volume_id,
  :source_snapshot_arn,
  :copy_strategy,
  :options)
  SENSITIVE = []
  include Aws::Structure
end