ConnectHealth / Client / create_subscription

create_subscription

ConnectHealth.Client.create_subscription(**kwargs)

Creates a new Subscription within a Domain for billing and user management.

See also: AWS API Documentation

Request Syntax

response = client.create_subscription(
    domainId='string'
)
Parameters:

domainId (string) –

[REQUIRED]

The unique identifier of the parent Domain.

Return type:

dict

Returns:

Response Syntax

{
    'domainId': 'string',
    'subscriptionId': 'string',
    'arn': 'string',
    'status': 'ACTIVE'|'INACTIVE'|'DELETED',
    'createdAt': datetime(2015, 1, 1),
    'lastUpdatedAt': datetime(2015, 1, 1),
    'activatedAt': datetime(2015, 1, 1),
    'deactivatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • domainId (string) –

    • subscriptionId (string) –

    • arn (string) –

    • status (string) –

    • createdAt (datetime) –

    • lastUpdatedAt (datetime) –

    • activatedAt (datetime) –

    • deactivatedAt (datetime) –

Exceptions