Learn R Programming

paws.storage (version 0.7.0)

storagegateway_update_maintenance_start_time: Updates a gateway's maintenance window schedule, with settings for monthly or weekly cadence, specific day and time to begin maintenance, and which types of updates to apply

Description

Updates a gateway's maintenance window schedule, with settings for monthly or weekly cadence, specific day and time to begin maintenance, and which types of updates to apply. Time configuration uses the gateway's time zone. You can pass values for a complete maintenance schedule, or update policy, or both. Previous values will persist for whichever setting you choose not to modify. If an incomplete or invalid maintenance schedule is passed, the entire request will be rejected with an error and no changes will occur.

See https://www.paws-r-sdk.com/docs/storagegateway_update_maintenance_start_time/ for full documentation.

Usage

storagegateway_update_maintenance_start_time(
  GatewayARN,
  HourOfDay = NULL,
  MinuteOfHour = NULL,
  DayOfWeek = NULL,
  DayOfMonth = NULL,
  SoftwareUpdatePreferences = NULL
)

Arguments

GatewayARN

[required]

HourOfDay

The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23). The hour of the day is in the time zone of the gateway.

MinuteOfHour

The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59). The minute of the hour is in the time zone of the gateway.

DayOfWeek

The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 represents Saturday.

DayOfMonth

The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month. It is not possible to set the maintenance schedule to start on days 29 through 31.

SoftwareUpdatePreferences

A set of variables indicating the software update preferences for the gateway.

Includes AutomaticUpdatePolicy field with the following inputs:

ALL_VERSIONS - Enables regular gateway maintenance updates.

EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance updates.