:doc:`BackupGateway <../../backup-gateway>` / Client / put_maintenance_start_time

**************************
put_maintenance_start_time
**************************



.. py:method:: BackupGateway.Client.put_maintenance_start_time(**kwargs)

  

  Set the maintenance start time for a gateway.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/PutMaintenanceStartTime>`_  


  **Request Syntax**
  ::

    response = client.put_maintenance_start_time(
        DayOfMonth=123,
        DayOfWeek=123,
        GatewayArn='string',
        HourOfDay=123,
        MinuteOfHour=123
    )
    
  :type DayOfMonth: integer
  :param DayOfMonth: 

    The day of the month start maintenance on a gateway.

     

    Valid values range from ``Sunday`` to ``Saturday``.

    

  
  :type DayOfWeek: integer
  :param DayOfWeek: 

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

    

  
  :type GatewayArn: string
  :param GatewayArn: **[REQUIRED]** 

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

    

  
  :type HourOfDay: integer
  :param HourOfDay: **[REQUIRED]** 

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

    

  
  :type MinuteOfHour: integer
  :param MinuteOfHour: **[REQUIRED]** 

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

    

  
  
  :rtype: 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**
  
  *   :py:class:`BackupGateway.Client.exceptions.ValidationException`

  
  *   :py:class:`BackupGateway.Client.exceptions.ConflictException`

  
  *   :py:class:`BackupGateway.Client.exceptions.InternalServerException`

  
  *   :py:class:`BackupGateway.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`BackupGateway.Client.exceptions.ThrottlingException`

  