You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Redshift::Types::CopyClusterSnapshotMessage

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

Overview

Note:

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

{
  source_snapshot_identifier: "String", # required
  source_snapshot_cluster_identifier: "String",
  target_snapshot_identifier: "String", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#source_snapshot_cluster_identifierString

The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

Constraints:

  • Must be the identifier for a valid cluster.

^

Returns:

  • (String)


937
938
939
940
941
942
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 937

class CopyClusterSnapshotMessage < Struct.new(
  :source_snapshot_identifier,
  :source_snapshot_cluster_identifier,
  :target_snapshot_identifier)
  include Aws::Structure
end

#source_snapshot_identifierString

The identifier for the source snapshot.

Constraints:

  • Must be the identifier for a valid automated snapshot whose state is available.

^

Returns:

  • (String)


937
938
939
940
941
942
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 937

class CopyClusterSnapshotMessage < Struct.new(
  :source_snapshot_identifier,
  :source_snapshot_cluster_identifier,
  :target_snapshot_identifier)
  include Aws::Structure
end

#target_snapshot_identifierString

The identifier given to the new manual snapshot.

Constraints:

  • Cannot be null, empty, or blank.

  • Must contain from 1 to 255 alphanumeric characters or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

  • Must be unique for the AWS account that is making the request.

Returns:

  • (String)


937
938
939
940
941
942
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 937

class CopyClusterSnapshotMessage < Struct.new(
  :source_snapshot_identifier,
  :source_snapshot_cluster_identifier,
  :target_snapshot_identifier)
  include Aws::Structure
end