FraudDetector / Client / get_entity_types

get_entity_types#

FraudDetector.Client.get_entity_types(**kwargs)#

Gets all entity types or a specific entity type if a name is specified. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEntityTypesResponse as part of your request. A null pagination token fetches the records from the beginning.

See also: AWS API Documentation

Request Syntax

response = client.get_entity_types(
    name='string',
    nextToken='string',
    maxResults=123
)
Parameters:
  • name (string) – The name.

  • nextToken (string) – The next token for the subsequent request.

  • maxResults (integer) – The maximum number of objects to return for the request.

Return type:

dict

Returns:

Response Syntax

{
    'entityTypes': [
        {
            'name': 'string',
            'description': 'string',
            'lastUpdatedTime': 'string',
            'createdTime': 'string',
            'arn': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • entityTypes (list) –

      An array of entity types.

      • (dict) –

        The entity type details.

        • name (string) –

          The entity type name.

        • description (string) –

          The entity type description.

        • lastUpdatedTime (string) –

          Timestamp of when the entity type was last updated.

        • createdTime (string) –

          Timestamp of when the entity type was created.

        • arn (string) –

          The entity type ARN.

    • nextToken (string) –

      The next page token.

Exceptions