list_extension_versions

GameSparks.Client.list_extension_versions(**kwargs)

Gets a paginated list of available versions for the extension.

Each time an API change is made to an extension, the version is incremented. The list retrieved by this operation shows the versions that are currently available.

See also: AWS API Documentation

Request Syntax

response = client.list_extension_versions(
    MaxResults=123,
    Name='string',
    Namespace='string',
    NextToken='string'
)
Parameters
  • MaxResults (integer) --

    The maximum number of results to return.

    Use this parameter with NextToken to get results as a set of sequential pages.

  • Name (string) --

    [REQUIRED]

    The name of the extension.

  • Namespace (string) --

    [REQUIRED]

    The namespace (qualifier) of the extension.

  • NextToken (string) --

    The token that indicates the start of the next sequential page of results.

    Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.

Return type

dict

Returns

Response Syntax

{
    'ExtensionVersions': [
        {
            'Name': 'string',
            'Namespace': 'string',
            'Schema': 'string',
            'Version': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • ExtensionVersions (list) --

      The list of extension versions.

      • (dict) --

        Details about the extension version.

        • Name (string) --

          The name of the extension.

        • Namespace (string) --

          The namespace (qualifier) of the extension.

        • Schema (string) --

          The model that defines the interface for this extension version.

        • Version (string) --

          The version of the extension.

    • NextToken (string) --

      The token that indicates the start of the next sequential page of results.

      Use this value when making the next call to this operation to continue where the last one finished.

Exceptions

  • GameSparks.Client.exceptions.ValidationException
  • GameSparks.Client.exceptions.AccessDeniedException
  • GameSparks.Client.exceptions.ThrottlingException
  • GameSparks.Client.exceptions.ResourceNotFoundException
  • GameSparks.Client.exceptions.InternalServerException