This operation updates a gateway’s weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway’s time zone.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Maintenance Start Time
$sg = new AmazonStorageGateway(); // Update maintenance start time $response = $sg->update_maintenance_start_time(array( 'GatewayARN' => $gateway_arn, "HourOfDay" => 0, "MinuteOfHour" => 30, "DayOfWeek" => 2, )); var_dump($response->isOK()); sleep(2); // Describe maintenance start time $response = $sg->describe_maintenance_start_time(array( 'GatewayARN' => $gateway_arn, )); var_dump($response->isOK());
Source
Method defined in services/storagegateway.class.php | Toggle source view (6 lines) | View on GitHub