RTBFabric / Client / list_available_modules

list_available_modules

RTBFabric.Client.list_available_modules(**kwargs)

Lists the modules that you can attach, newest first by createdAt. Results are paginated. Use nextToken to get the next page.

See also: AWS API Documentation

Request Syntax

response = client.list_available_modules(
    subscriptionType='MARKETPLACE'|'PRIVATE'|'AWS_BUILT_IN',
    maxResults=123,
    nextToken='string'
)
Parameters:
  • subscriptionType (string) – Lists only modules that you have access to this way.

  • maxResults (integer) – The maximum number of results for each page, from 1 to 10. The default is 10.

  • nextToken (string) – If nextToken is returned, there are more results available. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours; using an expired token fails with ValidationException.

Return type:

dict

Returns:

Response Syntax

{
    'modules': [
        {
            'moduleId': 'string',
            'moduleArn': 'string',
            'moduleName': 'string',
            'subscriptionType': 'MARKETPLACE'|'PRIVATE'|'AWS_BUILT_IN',
            'subscriptionStatus': 'ACTIVE'|'EXPIRED',
            'marketplaceProductId': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • modules (list) –

      The modules on this page, newest first.

      • (dict) –

        A module that you can attach, as ListAvailableModules returns it. ListAvailableModules and GetAvailableModule never return how a module is implemented.

        • moduleId (string) –

          The module’s ID.

        • moduleArn (string) –

          The module’s ARN.

        • moduleName (string) –

          A label, not unique: modules can share a name.

        • subscriptionType (string) –

          The type of access that you have to the module.

        • subscriptionStatus (string) –

          Specifies whether your access to the module is current.

        • marketplaceProductId (string) –

          The Marketplace product the module is sold under. Present only when subscriptionType is MARKETPLACE.

    • nextToken (string) –

      If nextToken is returned, there are more results available. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours; using an expired token fails with ValidationException.

Exceptions