:doc:`odb <../../odb>` / Client / update_cloud_exadata_infrastructure

***********************************
update_cloud_exadata_infrastructure
***********************************



.. py:method:: odb.Client.update_cloud_exadata_infrastructure(**kwargs)

  

  Updates the properties of an Exadata infrastructure resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/odb-2024-08-20/UpdateCloudExadataInfrastructure>`_  


  **Request Syntax**
  ::

    response = client.update_cloud_exadata_infrastructure(
        cloudExadataInfrastructureId='string',
        maintenanceWindow={
            'customActionTimeoutInMins': 123,
            'daysOfWeek': [
                {
                    'name': 'MONDAY'|'TUESDAY'|'WEDNESDAY'|'THURSDAY'|'FRIDAY'|'SATURDAY'|'SUNDAY'
                },
            ],
            'hoursOfDay': [
                123,
            ],
            'isCustomActionTimeoutEnabled': True|False,
            'leadTimeInWeeks': 123,
            'months': [
                {
                    'name': 'JANUARY'|'FEBRUARY'|'MARCH'|'APRIL'|'MAY'|'JUNE'|'JULY'|'AUGUST'|'SEPTEMBER'|'OCTOBER'|'NOVEMBER'|'DECEMBER'
                },
            ],
            'patchingMode': 'ROLLING'|'NONROLLING',
            'preference': 'NO_PREFERENCE'|'CUSTOM_PREFERENCE',
            'skipRu': True|False,
            'weeksOfMonth': [
                123,
            ]
        }
    )
    
  :type cloudExadataInfrastructureId: string
  :param cloudExadataInfrastructureId: **[REQUIRED]** 

    The unique identifier of the Exadata infrastructure to update.

    

  
  :type maintenanceWindow: dict
  :param maintenanceWindow: 

    The scheduling details for the maintenance window. Patching and system updates take place during the maintenance window.

    

  
    - **customActionTimeoutInMins** *(integer) --* 

      The custom action timeout in minutes for the maintenance window.

      

    
    - **daysOfWeek** *(list) --* 

      The days of the week when maintenance can be performed.

      

    
      - *(dict) --* 

        An enumeration of days of the week used for scheduling maintenance windows.

        

      
        - **name** *(string) --* 

          The name of the day of the week.

          

        
      
  
    - **hoursOfDay** *(list) --* 

      The hours of the day when maintenance can be performed.

      

    
      - *(integer) --* 

      
  
    - **isCustomActionTimeoutEnabled** *(boolean) --* 

      Indicates whether custom action timeout is enabled for the maintenance window.

      

    
    - **leadTimeInWeeks** *(integer) --* 

      The lead time in weeks before the maintenance window.

      

    
    - **months** *(list) --* 

      The months when maintenance can be performed.

      

    
      - *(dict) --* 

        An enumeration of months used for scheduling maintenance windows.

        

      
        - **name** *(string) --* 

          The name of the month.

          

        
      
  
    - **patchingMode** *(string) --* 

      The patching mode for the maintenance window.

      

    
    - **preference** *(string) --* 

      The preference for the maintenance window scheduling.

      

    
    - **skipRu** *(boolean) --* 

      Indicates whether to skip release updates during maintenance.

      

    
    - **weeksOfMonth** *(list) --* 

      The weeks of the month when maintenance can be performed.

      

    
      - *(integer) --* 

      
  
  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'displayName': 'string',
          'status': 'AVAILABLE'|'FAILED'|'PROVISIONING'|'TERMINATED'|'TERMINATING'|'UPDATING'|'MAINTENANCE_IN_PROGRESS',
          'statusReason': 'string',
          'cloudExadataInfrastructureId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **displayName** *(string) --* 

        The user-friendly name of the updated Exadata infrastructure.

        
      

      - **status** *(string) --* 

        The current status of the Exadata infrastructure after the update operation.

        
      

      - **statusReason** *(string) --* 

        Additional information about the status of the Exadata infrastructure after the update operation.

        
      

      - **cloudExadataInfrastructureId** *(string) --* 

        The unique identifier of the updated Exadata infrastructure.

        
  
  **Exceptions**
  
  *   :py:class:`odb.Client.exceptions.ThrottlingException`

  
  *   :py:class:`odb.Client.exceptions.ValidationException`

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

  
  *   :py:class:`odb.Client.exceptions.AccessDeniedException`

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

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

  