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)


3926
3927
3928
3929
3930
3931
3932
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 3926

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)


3926
3927
3928
3929
3930
3931
3932
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 3926

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)


3926
3927
3928
3929
3930
3931
3932
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 3926

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)


3926
3927
3928
3929
3930
3931
3932
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 3926

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