RTBFabric / Client / get_available_module_version

get_available_module_version

RTBFabric.Client.get_available_module_version(**kwargs)

Returns an ACTIVE or DEPRECATED version of a module that you can attach. If you can’t attach the module, or the version is in another status, the operation returns ResourceNotFoundException, the same as for a missing one.

See also: AWS API Documentation

Request Syntax

response = client.get_available_module_version(
    moduleId='string',
    version='string'
)
Parameters:
  • moduleId (string) –

    [REQUIRED]

    The module’s ID.

  • version (string) –

    [REQUIRED]

    The version.

Return type:

dict

Returns:

Response Syntax

{
    'moduleId': 'string',
    'version': 'string',
    'moduleVersionArn': 'string',
    'status': 'CREATING'|'CREATE_FAILED'|'ACTIVE'|'DEPRECATED',
    'permissions': [
        'READ_REQUEST_BODY'|'READ_REQUEST_HEADERS'|'MUTATE_REQUEST_BODY'|'ENRICH_REQUEST_HEADERS'|'ENRICH_REQUEST_EXT'|'FILTER',
    ],
    'configurableActions': [
        'FILTER'|'ENRICH_REQUEST_EXT'|'ENRICH_REQUEST_HEADERS'|'OBSERVE',
    ],
    'configurationSchema': 'string',
    'releaseNotes': 'string',
    'createdAt': datetime(2015, 1, 1),
    'updatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • moduleId (string) –

      The module’s ID.

    • version (string) –

      The version.

    • moduleVersionArn (string) –

      The version’s ARN.

    • status (string) –

      ACTIVE or DEPRECATED.

    • permissions (list) –

      The data-access grants the version holds.

      • (string) –

        A data-access grant that a version holds.

    • configurableActions (list) –

      The capabilities that you can turn on when you attach the version.

      • (string) –

        A capability that you can turn on when you attach a version, such as FILTER or OBSERVE. Each capability needs a minimum permission.

    • configurationSchema (string) –

      The JSON Schema for the parameters that you can set in configurationValues when you attach the version.

    • releaseNotes (string) –

      The vendor’s release notes.

    • createdAt (datetime) –

      The time when the version was created.

    • updatedAt (datetime) –

      The time when the version last changed.

Exceptions