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

Class: Aws::Redshift::Types::CreateSnapshotScheduleMessage

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 CreateSnapshotScheduleMessage data as a hash:

{
  schedule_definitions: ["String"],
  schedule_identifier: "String",
  schedule_description: "String",
  tags: [
    {
      key: "String",
      value: "String",
    },
  ],
  dry_run: false,
  next_invocations: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#dry_runBoolean

Returns:

  • (Boolean)


2473
2474
2475
2476
2477
2478
2479
2480
2481
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 2473

class CreateSnapshotScheduleMessage < Struct.new(
  :schedule_definitions,
  :schedule_identifier,
  :schedule_description,
  :tags,
  :dry_run,
  :next_invocations)
  include Aws::Structure
end

#next_invocationsInteger

Returns:

  • (Integer)


2473
2474
2475
2476
2477
2478
2479
2480
2481
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 2473

class CreateSnapshotScheduleMessage < Struct.new(
  :schedule_definitions,
  :schedule_identifier,
  :schedule_description,
  :tags,
  :dry_run,
  :next_invocations)
  include Aws::Structure
end

#schedule_definitionsArray<String>

The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".

Returns:

  • (Array<String>)


2473
2474
2475
2476
2477
2478
2479
2480
2481
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 2473

class CreateSnapshotScheduleMessage < Struct.new(
  :schedule_definitions,
  :schedule_identifier,
  :schedule_description,
  :tags,
  :dry_run,
  :next_invocations)
  include Aws::Structure
end

#schedule_descriptionString

The description of the snapshot schedule.

Returns:

  • (String)


2473
2474
2475
2476
2477
2478
2479
2480
2481
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 2473

class CreateSnapshotScheduleMessage < Struct.new(
  :schedule_definitions,
  :schedule_identifier,
  :schedule_description,
  :tags,
  :dry_run,
  :next_invocations)
  include Aws::Structure
end

#schedule_identifierString

A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.

Returns:

  • (String)


2473
2474
2475
2476
2477
2478
2479
2480
2481
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 2473

class CreateSnapshotScheduleMessage < Struct.new(
  :schedule_definitions,
  :schedule_identifier,
  :schedule_description,
  :tags,
  :dry_run,
  :next_invocations)
  include Aws::Structure
end

#tagsArray<Types::Tag>

An optional set of tags you can use to search for the schedule.

Returns:



2473
2474
2475
2476
2477
2478
2479
2480
2481
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 2473

class CreateSnapshotScheduleMessage < Struct.new(
  :schedule_definitions,
  :schedule_identifier,
  :schedule_description,
  :tags,
  :dry_run,
  :next_invocations)
  include Aws::Structure
end