:doc:`LicenseManagerLinuxSubscriptions <../../license-manager-linux-subscriptions>` / Client / update_service_settings

***********************
update_service_settings
***********************



.. py:method:: LicenseManagerLinuxSubscriptions.Client.update_service_settings(**kwargs)

  

  Updates the service settings for Linux subscriptions.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/UpdateServiceSettings>`_  


  **Request Syntax**
  ::

    response = client.update_service_settings(
        AllowUpdate=True|False,
        LinuxSubscriptionsDiscovery='Enabled'|'Disabled',
        LinuxSubscriptionsDiscoverySettings={
            'OrganizationIntegration': 'Enabled'|'Disabled',
            'SourceRegions': [
                'string',
            ]
        }
    )
    
  :type AllowUpdate: boolean
  :param AllowUpdate: 

    Describes if updates are allowed to the service settings for Linux subscriptions. If you allow updates, you can aggregate Linux subscription data in more than one home Region.

    

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

    Describes if the discovery of Linux subscriptions is enabled.

    

  
  :type LinuxSubscriptionsDiscoverySettings: dict
  :param LinuxSubscriptionsDiscoverySettings: **[REQUIRED]** 

    The settings defined for Linux subscriptions discovery. The settings include if Organizations integration has been enabled, and which Regions data will be aggregated from.

    

  
    - **OrganizationIntegration** *(string) --* **[REQUIRED]** 

      Details if you have enabled resource discovery across your accounts in Organizations.

      

    
    - **SourceRegions** *(list) --* **[REQUIRED]** 

      The Regions in which to discover data for Linux subscriptions.

      

    
      - *(string) --* 

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

    
    ::

      {
          'HomeRegions': [
              'string',
          ],
          'LinuxSubscriptionsDiscovery': 'Enabled'|'Disabled',
          'LinuxSubscriptionsDiscoverySettings': {
              'OrganizationIntegration': 'Enabled'|'Disabled',
              'SourceRegions': [
                  'string',
              ]
          },
          'Status': 'InProgress'|'Completed'|'Successful'|'Failed',
          'StatusMessage': {
              'string': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **HomeRegions** *(list) --* 

        The Region in which License Manager displays the aggregated data for Linux subscriptions.

        
        

        - *(string) --* 
    
      

      - **LinuxSubscriptionsDiscovery** *(string) --* 

        Lists if discovery has been enabled for Linux subscriptions.

        
      

      - **LinuxSubscriptionsDiscoverySettings** *(dict) --* 

        The settings defined for Linux subscriptions discovery. The settings include if Organizations integration has been enabled, and which Regions data will be aggregated from.

        
        

        - **OrganizationIntegration** *(string) --* 

          Details if you have enabled resource discovery across your accounts in Organizations.

          
        

        - **SourceRegions** *(list) --* 

          The Regions in which to discover data for Linux subscriptions.

          
          

          - *(string) --* 
      
    
      

      - **Status** *(string) --* 

        Indicates the status of Linux subscriptions settings being applied.

        
      

      - **StatusMessage** *(dict) --* 

        A message which details the Linux subscriptions service settings current status.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`LicenseManagerLinuxSubscriptions.Client.exceptions.InternalServerException`

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

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

  