Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

put_maintenance_start_time

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