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

Class: Aws::StorageGateway::Types::UpdateSnapshotScheduleInput

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

Overview

Note:

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

{
  volume_arn: "VolumeARN", # required
  start_at: 1, # required
  recurrence_in_hours: 1, # required
  description: "Description",
}

A JSON object containing one or more of the following fields:

  • UpdateSnapshotScheduleInput$Description

  • UpdateSnapshotScheduleInput$RecurrenceInHours

  • UpdateSnapshotScheduleInput$StartAt

  • UpdateSnapshotScheduleInput$VolumeARN

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

Optional description of the snapshot that overwrites the existing description.

Returns:

  • (String)


4005
4006
4007
4008
4009
4010
4011
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 4005

class UpdateSnapshotScheduleInput < Struct.new(
  :volume_arn,
  :start_at,
  :recurrence_in_hours,
  :description)
  include Aws::Structure
end

#recurrence_in_hoursInteger

Frequency of snapshots. Specify the number of hours between snapshots.

Returns:

  • (Integer)


4005
4006
4007
4008
4009
4010
4011
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 4005

class UpdateSnapshotScheduleInput < Struct.new(
  :volume_arn,
  :start_at,
  :recurrence_in_hours,
  :description)
  include Aws::Structure
end

#start_atInteger

The hour of the day at which the snapshot schedule begins represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.

Returns:

  • (Integer)


4005
4006
4007
4008
4009
4010
4011
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 4005

class UpdateSnapshotScheduleInput < Struct.new(
  :volume_arn,
  :start_at,
  :recurrence_in_hours,
  :description)
  include Aws::Structure
end

#volume_arnString

The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

Returns:

  • (String)


4005
4006
4007
4008
4009
4010
4011
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 4005

class UpdateSnapshotScheduleInput < Struct.new(
  :volume_arn,
  :start_at,
  :recurrence_in_hours,
  :description)
  include Aws::Structure
end