BackupGateway / Client / put_maintenance_start_time

put_maintenance_start_time#

BackupGateway.Client.put_maintenance_start_time(**kwargs)#

Set the maintenance start time for a gateway.

See also: AWS API Documentation

Request Syntax

response = client.put_maintenance_start_time(
    DayOfMonth=123,
    DayOfWeek=123,
    GatewayArn='string',
    HourOfDay=123,
    MinuteOfHour=123
)
Parameters:
  • DayOfMonth (integer) –

    The day of the month start maintenance on a gateway.

    Valid values range from Sunday to Saturday.

  • DayOfWeek (integer) – The day of the week to start maintenance on a gateway.

  • GatewayArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) for the gateway, used to specify its maintenance start time.

  • HourOfDay (integer) –

    [REQUIRED]

    The hour of the day to start maintenance on a gateway.

  • MinuteOfHour (integer) –

    [REQUIRED]

    The minute of the hour to start maintenance on a gateway.

Return type:

dict

Returns:

Response Syntax

{
    'GatewayArn': 'string'
}

Response Structure

  • (dict) –

    • GatewayArn (string) –

      The Amazon Resource Name (ARN) of a gateway for which you set the maintenance start time.

Exceptions

  • BackupGateway.Client.exceptions.ValidationException

  • BackupGateway.Client.exceptions.ConflictException

  • BackupGateway.Client.exceptions.InternalServerException

  • BackupGateway.Client.exceptions.ResourceNotFoundException

  • BackupGateway.Client.exceptions.ThrottlingException