put_maintenance_start_time
async
¶
put_maintenance_start_time(
gateway_arn: GatewayArn,
hour_of_day: HourOfDay,
minute_of_hour: MinuteOfHour,
*,
config_overrides: Optional[AsyncBackupGatewayClientConfig] = None,
day_of_week: Optional[DayOfWeek] = None,
day_of_month: Optional[DayOfMonth] = None,
) -> PutMaintenanceStartTimeOutput
Set the maintenance start time for a gateway.
Parameters:
-
gateway_arn(GatewayArn) –The Amazon Resource Name (ARN) for the gateway, used to specify its maintenance start time.
-
hour_of_day(HourOfDay) –The hour of the day to start maintenance on a gateway.
-
minute_of_hour(MinuteOfHour) –The minute of the hour to start maintenance on a gateway.
-
day_of_week(Optional[DayOfWeek], default:None) –The day of the week to start maintenance on a gateway.
-
day_of_month(Optional[DayOfMonth], default:None) –The day of the month start maintenance on a gateway.
Valid values range from
SundaytoSaturday.
Raises:
-
InternalServerException–The operation did not succeed because an internal error occurred. Try again later.
-
ThrottlingException–TPS has been limited to protect against intentional or unintentional high request volumes.
-
ValidationException–The operation did not succeed because a validation error occurred.
-
ConflictException–The operation cannot proceed because it is not supported.
-
ResourceNotFoundException–A resource that is required for the action wasn't found.
-
UnknownServiceError–The service returned an error code this client does not model.