Class: Aws::RedshiftServerless::Types::CreateSnapshotRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#namespace_nameString

The namespace to create a snapshot for.

Returns:

  • (String)


506
507
508
509
510
511
512
513
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 506

class CreateSnapshotRequest < Struct.new(
  :namespace_name,
  :retention_period,
  :snapshot_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#retention_periodInteger

How long to retain the created snapshot.

Returns:

  • (Integer)


506
507
508
509
510
511
512
513
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 506

class CreateSnapshotRequest < Struct.new(
  :namespace_name,
  :retention_period,
  :snapshot_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_nameString

The name of the snapshot.

Returns:

  • (String)


506
507
508
509
510
511
512
513
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 506

class CreateSnapshotRequest < Struct.new(
  :namespace_name,
  :retention_period,
  :snapshot_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

An array of Tag objects to associate with the snapshot.

Returns:



506
507
508
509
510
511
512
513
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 506

class CreateSnapshotRequest < Struct.new(
  :namespace_name,
  :retention_period,
  :snapshot_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end