AWS Glue

2022/04/21 - AWS Glue - 5 new api methods

Changes  This release adds APIs to create, read, delete, list, and batch read of Glue custom entity types

GetCustomEntityType (new) Link ¶

See also: AWS API Documentation

Request Syntax

client.get_custom_entity_type(
    Name='string'
)
type Name

string

param Name

[REQUIRED]

rtype

dict

returns

Response Syntax

{
    'Name': 'string',
    'RegexString': 'string',
    'ContextWords': [
        'string',
    ]
}

Response Structure

  • (dict) --

    • Name (string) --

    • RegexString (string) --

    • ContextWords (list) --

      • (string) --

CreateCustomEntityType (new) Link ¶

See also: AWS API Documentation

Request Syntax

client.create_custom_entity_type(
    Name='string',
    RegexString='string',
    ContextWords=[
        'string',
    ]
)
type Name

string

param Name

[REQUIRED]

type RegexString

string

param RegexString

[REQUIRED]

type ContextWords

list

param ContextWords
  • (string) --

rtype

dict

returns

Response Syntax

{
    'Name': 'string'
}

Response Structure

  • (dict) --

    • Name (string) --

ListCustomEntityTypes (new) Link ¶

See also: AWS API Documentation

Request Syntax

client.list_custom_entity_types(
    NextToken='string',
    MaxResults=123
)
type NextToken

string

param NextToken

type MaxResults

integer

param MaxResults

rtype

dict

returns

Response Syntax

{
    'CustomEntityTypes': [
        {
            'Name': 'string',
            'RegexString': 'string',
            'ContextWords': [
                'string',
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • CustomEntityTypes (list) --

      • (dict) --

        • Name (string) --

        • RegexString (string) --

        • ContextWords (list) --

          • (string) --

    • NextToken (string) --

BatchGetCustomEntityTypes (new) Link ¶

See also: AWS API Documentation

Request Syntax

client.batch_get_custom_entity_types(
    Names=[
        'string',
    ]
)
type Names

list

param Names

[REQUIRED]

  • (string) --

rtype

dict

returns

Response Syntax

{
    'CustomEntityTypes': [
        {
            'Name': 'string',
            'RegexString': 'string',
            'ContextWords': [
                'string',
            ]
        },
    ],
    'CustomEntityTypesNotFound': [
        'string',
    ]
}

Response Structure

  • (dict) --

    • CustomEntityTypes (list) --

      • (dict) --

        • Name (string) --

        • RegexString (string) --

        • ContextWords (list) --

          • (string) --

    • CustomEntityTypesNotFound (list) --

      • (string) --

DeleteCustomEntityType (new) Link ¶

See also: AWS API Documentation

Request Syntax

client.delete_custom_entity_type(
    Name='string'
)
type Name

string

param Name

[REQUIRED]

rtype

dict

returns

Response Syntax

{
    'Name': 'string'
}

Response Structure

  • (dict) --

    • Name (string) --