Skip to content

GlueClient.create_custom_entity_type

rboto-glue==0.4.0 · Service index · Types

Model summary (excerpt): Creates a custom pattern that is used to detect sensitive data across the columns and rows of your structured data. Each custom pattern you create specifies a regular expression and an optional list of context words. If no context words are passed only a regular expression is checked.

Install and imports

python -m pip install "rboto[glue]==0.4.0"
from rboto import GlueClient
from collections.abc import Sequence
from rboto_glue.types import (
    CreateCustomEntityTypeOutput,
)

Signature

async def create_custom_entity_type(
    *,
    name: str,
    regex_string: str,
    context_words: Sequence[str] | None = None,
    tags: dict[str, str] | None = None,
) -> CreateCustomEntityTypeOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
name Yes A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.
regex_string Yes A regular expression string that is used for detecting sensitive data in a custom pattern.
context_words No A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data. If no context words are passed only a regular expression is checked.
tags No A list of tags applied to the custom entity type.

Output

CreateCustomEntityTypeOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
name str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

CreateCustomEntityTypeOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_glue.exceptions:

AccessDeniedError, AlreadyExistsError, IdempotentParameterMismatchError, InternalServiceError, InvalidInputError, OperationTimeoutError, ResourceNumberLimitExceededError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model