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

******************************
register_subscription_provider
******************************



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

  

  Register the supported third-party subscription provider for your Bring Your Own License (BYOL) subscription.

  

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


  **Request Syntax**
  ::

    response = client.register_subscription_provider(
        SecretArn='string',
        SubscriptionProviderSource='RedHat',
        Tags={
            'string': 'string'
        }
    )
    
  :type SecretArn: string
  :param SecretArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the secret where you've stored your subscription provider's access token. For RHEL subscriptions managed through the Red Hat Subscription Manager (RHSM), the secret contains your Red Hat Offline token.

    

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

    The supported Linux subscription provider to register.

    

  
  :type Tags: dict
  :param Tags: 

    The metadata tags to assign to your registered Linux subscription provider resource.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {
          'SubscriptionProviderArn': 'string',
          'SubscriptionProviderSource': 'RedHat',
          'SubscriptionProviderStatus': 'ACTIVE'|'INVALID'|'PENDING'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **SubscriptionProviderArn** *(string) --* 

        The Amazon Resource Name (ARN) of the Linux subscription provider resource that you registered.

        
      

      - **SubscriptionProviderSource** *(string) --* 

        The Linux subscription provider that you registered.

        
      

      - **SubscriptionProviderStatus** *(string) --* 

        Indicates the status of the registration action for the Linux subscription provider that you requested.

        
  
  **Exceptions**
  
  *   :py:class:`LicenseManagerLinuxSubscriptions.Client.exceptions.InternalServerException`

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

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

  