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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


252
253
254
255
256
257
258
259
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 252

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)


252
253
254
255
256
257
258
259
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 252

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)


252
253
254
255
256
257
258
259
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 252

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.

[1]: docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_Tag.html

Returns:



252
253
254
255
256
257
258
259
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 252

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