LicenseManagerLinuxSubscriptions / Client / register_subscription_provider

register_subscription_provider#

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

Request Syntax

response = client.register_subscription_provider(
    SecretArn='string',
    SubscriptionProviderSource='RedHat',
    Tags={
        'string': 'string'
    }
)
Parameters:
  • SecretArn (string) –

    [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.

  • SubscriptionProviderSource (string) –

    [REQUIRED]

    The supported Linux subscription provider to register.

  • Tags (dict) –

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

    • (string) –

      • (string) –

Return type:

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

  • LicenseManagerLinuxSubscriptions.Client.exceptions.InternalServerException

  • LicenseManagerLinuxSubscriptions.Client.exceptions.ThrottlingException

  • LicenseManagerLinuxSubscriptions.Client.exceptions.ValidationException