Class: Aws::FSx::Types::CreateSnapshotRequest

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

Overview

Note:

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

{
  client_request_token: "ClientRequestToken",
  name: "SnapshotName", # required
  volume_id: "VolumeId", # required
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

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 64 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)


2862
2863
2864
2865
2866
2867
2868
2869
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2862

class CreateSnapshotRequest < Struct.new(
  :client_request_token,
  :name,
  :volume_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the snapshot.

Returns:

  • (String)


2862
2863
2864
2865
2866
2867
2868
2869
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2862

class CreateSnapshotRequest < Struct.new(
  :client_request_token,
  :name,
  :volume_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of Tag values, with a maximum of 50 elements.

Returns:



2862
2863
2864
2865
2866
2867
2868
2869
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2862

class CreateSnapshotRequest < Struct.new(
  :client_request_token,
  :name,
  :volume_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#volume_idString

The ID of the volume that you are taking a snapshot of.

Returns:

  • (String)


2862
2863
2864
2865
2866
2867
2868
2869
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2862

class CreateSnapshotRequest < Struct.new(
  :client_request_token,
  :name,
  :volume_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end