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