Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_subscription

get_subscription(**kwargs)

Returns information about the Amazon Web Services account used for billing purposes and the billing plan for the space.

See also: AWS API Documentation

Request Syntax

response = client.get_subscription(
    spaceName='string'
)
Parameters
spaceName (string) --

[REQUIRED]

The name of the space.

Return type
dict
Returns
Response Syntax
{
    'subscriptionType': 'string',
    'awsAccountName': 'string'
}

Response Structure

  • (dict) --
    • subscriptionType (string) --

      The type of the billing plan for the space.

    • awsAccountName (string) --

      The display name of the Amazon Web Services account used for billing for the space.

Exceptions

  • CodeCatalyst.Client.exceptions.ThrottlingException
  • CodeCatalyst.Client.exceptions.ConflictException
  • CodeCatalyst.Client.exceptions.ValidationException
  • CodeCatalyst.Client.exceptions.ServiceQuotaExceededException
  • CodeCatalyst.Client.exceptions.ResourceNotFoundException
  • CodeCatalyst.Client.exceptions.AccessDeniedException