Class: Aws::FSx::Types::CopySnapshotAndUpdateVolumeRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::FSx::Types::CopySnapshotAndUpdateVolumeRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-fsx/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_request_token ⇒ String
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters.
-
#copy_strategy ⇒ String
Specifies the strategy to use when copying data from a snapshot to the volume.
-
#options ⇒ Array<String>
Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.
-
#source_snapshot_arn ⇒ String
The Amazon Resource Name (ARN) for a given resource.
-
#volume_id ⇒ String
Specifies the ID of the volume that you are copying the snapshot to.
Instance Attribute Details
#client_request_token ⇒ String
(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.
1010 1011 1012 1013 1014 1015 1016 1017 1018 |
# File '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_strategy ⇒ String
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.
<note markdown=“1”> ‘CLONE` isn’t a valid copy strategy option for the ‘CopySnapshotAndUpdateVolume` operation.
</note>
1010 1011 1012 1013 1014 1015 1016 1017 1018 |
# File '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 |
#options ⇒ Array<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.
1010 1011 1012 1013 1014 1015 1016 1017 1018 |
# File '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_arn ⇒ String
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*.
[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1010 1011 1012 1013 1014 1015 1016 1017 1018 |
# File '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_id ⇒ String
Specifies the ID of the volume that you are copying the snapshot to.
1010 1011 1012 1013 1014 1015 1016 1017 1018 |
# File '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 |