Skip to content

GlueClient

Index > Glue > GlueClient

Auto-generated documentation for Glue type annotations stubs module mypy-boto3-glue.

GlueClient

Type annotations and code completion for boto3.client("glue"). boto3 documentation

Usage example
from boto3.session import Session
from mypy_boto3_glue.client import GlueClient

def get_glue_client() -> GlueClient:
    return Session().client("glue")

Exceptions

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("glue").exceptions structure.

Usage example
client = boto3.client("glue")

try:
    do_something(client)
except (
    client.AccessDeniedException,
    client.AlreadyExistsException,
    client.ClientError,
    client.ConcurrentModificationException,
    client.ConcurrentRunsExceededException,
    client.ConditionCheckFailureException,
    client.ConflictException,
    client.CrawlerNotRunningException,
    client.CrawlerRunningException,
    client.CrawlerStoppingException,
    client.EntityNotFoundException,
    client.GlueEncryptionException,
    client.IdempotentParameterMismatchException,
    client.IllegalBlueprintStateException,
    client.IllegalSessionStateException,
    client.IllegalWorkflowStateException,
    client.InternalServiceException,
    client.InvalidInputException,
    client.InvalidStateException,
    client.MLTransformNotReadyException,
    client.NoScheduleException,
    client.OperationTimeoutException,
    client.PermissionTypeMismatchException,
    client.ResourceNotReadyException,
    client.ResourceNumberLimitExceededException,
    client.SchedulerNotRunningException,
    client.SchedulerRunningException,
    client.SchedulerTransitioningException,
    client.ValidationException,
    client.VersionMismatchException,
) as e:
    print(e)
Type checking example
from mypy_boto3_glue.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods

batch_create_partition

Creates one or more partitions in a batch operation.

Type annotations and code completion for boto3.client("glue").batch_create_partition method. boto3 documentation

Method definition
def batch_create_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionInputList: Sequence[PartitionInputTypeDef],  # (1)
    CatalogId: str = ...,
) -> BatchCreatePartitionResponseTypeDef:  # (2)
    ...
  1. See PartitionInputTypeDef
  2. See BatchCreatePartitionResponseTypeDef
Usage example with kwargs
kwargs: BatchCreatePartitionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "PartitionInputList": ...,
}

parent.batch_create_partition(**kwargs)
  1. See BatchCreatePartitionRequestRequestTypeDef

batch_delete_connection

Deletes a list of connection definitions from the Data Catalog.

Type annotations and code completion for boto3.client("glue").batch_delete_connection method. boto3 documentation

Method definition
def batch_delete_connection(
    self,
    *,
    ConnectionNameList: Sequence[str],
    CatalogId: str = ...,
) -> BatchDeleteConnectionResponseTypeDef:  # (1)
    ...
  1. See BatchDeleteConnectionResponseTypeDef
Usage example with kwargs
kwargs: BatchDeleteConnectionRequestRequestTypeDef = {  # (1)
    "ConnectionNameList": ...,
}

parent.batch_delete_connection(**kwargs)
  1. See BatchDeleteConnectionRequestRequestTypeDef

batch_delete_partition

Deletes one or more partitions in a batch operation.

Type annotations and code completion for boto3.client("glue").batch_delete_partition method. boto3 documentation

Method definition
def batch_delete_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionsToDelete: Sequence[PartitionValueListTypeDef],  # (1)
    CatalogId: str = ...,
) -> BatchDeletePartitionResponseTypeDef:  # (2)
    ...
  1. See PartitionValueListTypeDef
  2. See BatchDeletePartitionResponseTypeDef
Usage example with kwargs
kwargs: BatchDeletePartitionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "PartitionsToDelete": ...,
}

parent.batch_delete_partition(**kwargs)
  1. See BatchDeletePartitionRequestRequestTypeDef

batch_delete_table

Deletes multiple tables at once.

Type annotations and code completion for boto3.client("glue").batch_delete_table method. boto3 documentation

Method definition
def batch_delete_table(
    self,
    *,
    DatabaseName: str,
    TablesToDelete: Sequence[str],
    CatalogId: str = ...,
    TransactionId: str = ...,
) -> BatchDeleteTableResponseTypeDef:  # (1)
    ...
  1. See BatchDeleteTableResponseTypeDef
Usage example with kwargs
kwargs: BatchDeleteTableRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TablesToDelete": ...,
}

parent.batch_delete_table(**kwargs)
  1. See BatchDeleteTableRequestRequestTypeDef

batch_delete_table_version

Deletes a specified batch of versions of a table.

Type annotations and code completion for boto3.client("glue").batch_delete_table_version method. boto3 documentation

Method definition
def batch_delete_table_version(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    VersionIds: Sequence[str],
    CatalogId: str = ...,
) -> BatchDeleteTableVersionResponseTypeDef:  # (1)
    ...
  1. See BatchDeleteTableVersionResponseTypeDef
Usage example with kwargs
kwargs: BatchDeleteTableVersionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "VersionIds": ...,
}

parent.batch_delete_table_version(**kwargs)
  1. See BatchDeleteTableVersionRequestRequestTypeDef

batch_get_blueprints

Retrieves information about a list of blueprints.

Type annotations and code completion for boto3.client("glue").batch_get_blueprints method. boto3 documentation

Method definition
def batch_get_blueprints(
    self,
    *,
    Names: Sequence[str],
    IncludeBlueprint: bool = ...,
    IncludeParameterSpec: bool = ...,
) -> BatchGetBlueprintsResponseTypeDef:  # (1)
    ...
  1. See BatchGetBlueprintsResponseTypeDef
Usage example with kwargs
kwargs: BatchGetBlueprintsRequestRequestTypeDef = {  # (1)
    "Names": ...,
}

parent.batch_get_blueprints(**kwargs)
  1. See BatchGetBlueprintsRequestRequestTypeDef

batch_get_crawlers

Returns a list of resource metadata for a given list of crawler names.

Type annotations and code completion for boto3.client("glue").batch_get_crawlers method. boto3 documentation

Method definition
def batch_get_crawlers(
    self,
    *,
    CrawlerNames: Sequence[str],
) -> BatchGetCrawlersResponseTypeDef:  # (1)
    ...
  1. See BatchGetCrawlersResponseTypeDef
Usage example with kwargs
kwargs: BatchGetCrawlersRequestRequestTypeDef = {  # (1)
    "CrawlerNames": ...,
}

parent.batch_get_crawlers(**kwargs)
  1. See BatchGetCrawlersRequestRequestTypeDef

batch_get_custom_entity_types

Retrieves the details for the custom patterns specified by a list of names.

Type annotations and code completion for boto3.client("glue").batch_get_custom_entity_types method. boto3 documentation

Method definition
def batch_get_custom_entity_types(
    self,
    *,
    Names: Sequence[str],
) -> BatchGetCustomEntityTypesResponseTypeDef:  # (1)
    ...
  1. See BatchGetCustomEntityTypesResponseTypeDef
Usage example with kwargs
kwargs: BatchGetCustomEntityTypesRequestRequestTypeDef = {  # (1)
    "Names": ...,
}

parent.batch_get_custom_entity_types(**kwargs)
  1. See BatchGetCustomEntityTypesRequestRequestTypeDef

batch_get_dev_endpoints

Returns a list of resource metadata for a given list of development endpoint names.

Type annotations and code completion for boto3.client("glue").batch_get_dev_endpoints method. boto3 documentation

Method definition
def batch_get_dev_endpoints(
    self,
    *,
    DevEndpointNames: Sequence[str],
) -> BatchGetDevEndpointsResponseTypeDef:  # (1)
    ...
  1. See BatchGetDevEndpointsResponseTypeDef
Usage example with kwargs
kwargs: BatchGetDevEndpointsRequestRequestTypeDef = {  # (1)
    "DevEndpointNames": ...,
}

parent.batch_get_dev_endpoints(**kwargs)
  1. See BatchGetDevEndpointsRequestRequestTypeDef

batch_get_jobs

Returns a list of resource metadata for a given list of job names.

Type annotations and code completion for boto3.client("glue").batch_get_jobs method. boto3 documentation

Method definition
def batch_get_jobs(
    self,
    *,
    JobNames: Sequence[str],
) -> BatchGetJobsResponseTypeDef:  # (1)
    ...
  1. See BatchGetJobsResponseTypeDef
Usage example with kwargs
kwargs: BatchGetJobsRequestRequestTypeDef = {  # (1)
    "JobNames": ...,
}

parent.batch_get_jobs(**kwargs)
  1. See BatchGetJobsRequestRequestTypeDef

batch_get_partition

Retrieves partitions in a batch request.

Type annotations and code completion for boto3.client("glue").batch_get_partition method. boto3 documentation

Method definition
def batch_get_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionsToGet: Sequence[PartitionValueListTypeDef],  # (1)
    CatalogId: str = ...,
) -> BatchGetPartitionResponseTypeDef:  # (2)
    ...
  1. See PartitionValueListTypeDef
  2. See BatchGetPartitionResponseTypeDef
Usage example with kwargs
kwargs: BatchGetPartitionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "PartitionsToGet": ...,
}

parent.batch_get_partition(**kwargs)
  1. See BatchGetPartitionRequestRequestTypeDef

batch_get_triggers

Returns a list of resource metadata for a given list of trigger names.

Type annotations and code completion for boto3.client("glue").batch_get_triggers method. boto3 documentation

Method definition
def batch_get_triggers(
    self,
    *,
    TriggerNames: Sequence[str],
) -> BatchGetTriggersResponseTypeDef:  # (1)
    ...
  1. See BatchGetTriggersResponseTypeDef
Usage example with kwargs
kwargs: BatchGetTriggersRequestRequestTypeDef = {  # (1)
    "TriggerNames": ...,
}

parent.batch_get_triggers(**kwargs)
  1. See BatchGetTriggersRequestRequestTypeDef

batch_get_workflows

Returns a list of resource metadata for a given list of workflow names.

Type annotations and code completion for boto3.client("glue").batch_get_workflows method. boto3 documentation

Method definition
def batch_get_workflows(
    self,
    *,
    Names: Sequence[str],
    IncludeGraph: bool = ...,
) -> BatchGetWorkflowsResponseTypeDef:  # (1)
    ...
  1. See BatchGetWorkflowsResponseTypeDef
Usage example with kwargs
kwargs: BatchGetWorkflowsRequestRequestTypeDef = {  # (1)
    "Names": ...,
}

parent.batch_get_workflows(**kwargs)
  1. See BatchGetWorkflowsRequestRequestTypeDef

batch_stop_job_run

Stops one or more job runs for a specified job definition.

Type annotations and code completion for boto3.client("glue").batch_stop_job_run method. boto3 documentation

Method definition
def batch_stop_job_run(
    self,
    *,
    JobName: str,
    JobRunIds: Sequence[str],
) -> BatchStopJobRunResponseTypeDef:  # (1)
    ...
  1. See BatchStopJobRunResponseTypeDef
Usage example with kwargs
kwargs: BatchStopJobRunRequestRequestTypeDef = {  # (1)
    "JobName": ...,
    "JobRunIds": ...,
}

parent.batch_stop_job_run(**kwargs)
  1. See BatchStopJobRunRequestRequestTypeDef

batch_update_partition

Updates one or more partitions in a batch operation.

Type annotations and code completion for boto3.client("glue").batch_update_partition method. boto3 documentation

Method definition
def batch_update_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    Entries: Sequence[BatchUpdatePartitionRequestEntryTypeDef],  # (1)
    CatalogId: str = ...,
) -> BatchUpdatePartitionResponseTypeDef:  # (2)
    ...
  1. See BatchUpdatePartitionRequestEntryTypeDef
  2. See BatchUpdatePartitionResponseTypeDef
Usage example with kwargs
kwargs: BatchUpdatePartitionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "Entries": ...,
}

parent.batch_update_partition(**kwargs)
  1. See BatchUpdatePartitionRequestRequestTypeDef

can_paginate

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("glue").can_paginate method. boto3 documentation

Method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

cancel_ml_task_run

Cancels (stops) a task run.

Type annotations and code completion for boto3.client("glue").cancel_ml_task_run method. boto3 documentation

Method definition
def cancel_ml_task_run(
    self,
    *,
    TransformId: str,
    TaskRunId: str,
) -> CancelMLTaskRunResponseTypeDef:  # (1)
    ...
  1. See CancelMLTaskRunResponseTypeDef
Usage example with kwargs
kwargs: CancelMLTaskRunRequestRequestTypeDef = {  # (1)
    "TransformId": ...,
    "TaskRunId": ...,
}

parent.cancel_ml_task_run(**kwargs)
  1. See CancelMLTaskRunRequestRequestTypeDef

cancel_statement

Cancels the statement.

Type annotations and code completion for boto3.client("glue").cancel_statement method. boto3 documentation

Method definition
def cancel_statement(
    self,
    *,
    SessionId: str,
    Id: int,
    RequestOrigin: str = ...,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: CancelStatementRequestRequestTypeDef = {  # (1)
    "SessionId": ...,
    "Id": ...,
}

parent.cancel_statement(**kwargs)
  1. See CancelStatementRequestRequestTypeDef

check_schema_version_validity

Validates the supplied schema.

Type annotations and code completion for boto3.client("glue").check_schema_version_validity method. boto3 documentation

Method definition
def check_schema_version_validity(
    self,
    *,
    DataFormat: DataFormatType,  # (1)
    SchemaDefinition: str,
) -> CheckSchemaVersionValidityResponseTypeDef:  # (2)
    ...
  1. See DataFormatType
  2. See CheckSchemaVersionValidityResponseTypeDef
Usage example with kwargs
kwargs: CheckSchemaVersionValidityInputRequestTypeDef = {  # (1)
    "DataFormat": ...,
    "SchemaDefinition": ...,
}

parent.check_schema_version_validity(**kwargs)
  1. See CheckSchemaVersionValidityInputRequestTypeDef

close

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("glue").close method. boto3 documentation

Method definition
def close(
    self,
) -> None:
    ...

create_blueprint

Registers a blueprint with Glue.

Type annotations and code completion for boto3.client("glue").create_blueprint method. boto3 documentation

Method definition
def create_blueprint(
    self,
    *,
    Name: str,
    BlueprintLocation: str,
    Description: str = ...,
    Tags: Mapping[str, str] = ...,
) -> CreateBlueprintResponseTypeDef:  # (1)
    ...
  1. See CreateBlueprintResponseTypeDef
Usage example with kwargs
kwargs: CreateBlueprintRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "BlueprintLocation": ...,
}

parent.create_blueprint(**kwargs)
  1. See CreateBlueprintRequestRequestTypeDef

create_classifier

Creates a classifier in the user's account.

Type annotations and code completion for boto3.client("glue").create_classifier method. boto3 documentation

Method definition
def create_classifier(
    self,
    *,
    GrokClassifier: CreateGrokClassifierRequestTypeDef = ...,  # (1)
    XMLClassifier: CreateXMLClassifierRequestTypeDef = ...,  # (2)
    JsonClassifier: CreateJsonClassifierRequestTypeDef = ...,  # (3)
    CsvClassifier: CreateCsvClassifierRequestTypeDef = ...,  # (4)
) -> Dict[str, Any]:
    ...
  1. See CreateGrokClassifierRequestTypeDef
  2. See CreateXMLClassifierRequestTypeDef
  3. See CreateJsonClassifierRequestTypeDef
  4. See CreateCsvClassifierRequestTypeDef
Usage example with kwargs
kwargs: CreateClassifierRequestRequestTypeDef = {  # (1)
    "GrokClassifier": ...,
}

parent.create_classifier(**kwargs)
  1. See CreateClassifierRequestRequestTypeDef

create_connection

Creates a connection definition in the Data Catalog.

Type annotations and code completion for boto3.client("glue").create_connection method. boto3 documentation

Method definition
def create_connection(
    self,
    *,
    ConnectionInput: ConnectionInputTypeDef,  # (1)
    CatalogId: str = ...,
    Tags: Mapping[str, str] = ...,
) -> Dict[str, Any]:
    ...
  1. See ConnectionInputTypeDef
Usage example with kwargs
kwargs: CreateConnectionRequestRequestTypeDef = {  # (1)
    "ConnectionInput": ...,
}

parent.create_connection(**kwargs)
  1. See CreateConnectionRequestRequestTypeDef

create_crawler

Creates a new crawler with specified targets, role, configuration, and optional schedule.

Type annotations and code completion for boto3.client("glue").create_crawler method. boto3 documentation

Method definition
def create_crawler(
    self,
    *,
    Name: str,
    Role: str,
    Targets: CrawlerTargetsTypeDef,  # (1)
    DatabaseName: str = ...,
    Description: str = ...,
    Schedule: str = ...,
    Classifiers: Sequence[str] = ...,
    TablePrefix: str = ...,
    SchemaChangePolicy: SchemaChangePolicyTypeDef = ...,  # (2)
    RecrawlPolicy: RecrawlPolicyTypeDef = ...,  # (3)
    LineageConfiguration: LineageConfigurationTypeDef = ...,  # (4)
    LakeFormationConfiguration: LakeFormationConfigurationTypeDef = ...,  # (5)
    Configuration: str = ...,
    CrawlerSecurityConfiguration: str = ...,
    Tags: Mapping[str, str] = ...,
) -> Dict[str, Any]:
    ...
  1. See CrawlerTargetsTypeDef
  2. See SchemaChangePolicyTypeDef
  3. See RecrawlPolicyTypeDef
  4. See LineageConfigurationTypeDef
  5. See LakeFormationConfigurationTypeDef
Usage example with kwargs
kwargs: CreateCrawlerRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "Role": ...,
    "Targets": ...,
}

parent.create_crawler(**kwargs)
  1. See CreateCrawlerRequestRequestTypeDef

create_custom_entity_type

Creates a custom pattern that is used to detect sensitive data across the columns and rows of your structured data.

Type annotations and code completion for boto3.client("glue").create_custom_entity_type method. boto3 documentation

Method definition
def create_custom_entity_type(
    self,
    *,
    Name: str,
    RegexString: str,
    ContextWords: Sequence[str] = ...,
) -> CreateCustomEntityTypeResponseTypeDef:  # (1)
    ...
  1. See CreateCustomEntityTypeResponseTypeDef
Usage example with kwargs
kwargs: CreateCustomEntityTypeRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "RegexString": ...,
}

parent.create_custom_entity_type(**kwargs)
  1. See CreateCustomEntityTypeRequestRequestTypeDef

create_database

Creates a new database in a Data Catalog.

Type annotations and code completion for boto3.client("glue").create_database method. boto3 documentation

Method definition
def create_database(
    self,
    *,
    DatabaseInput: DatabaseInputTypeDef,  # (1)
    CatalogId: str = ...,
    Tags: Mapping[str, str] = ...,
) -> Dict[str, Any]:
    ...
  1. See DatabaseInputTypeDef
Usage example with kwargs
kwargs: CreateDatabaseRequestRequestTypeDef = {  # (1)
    "DatabaseInput": ...,
}

parent.create_database(**kwargs)
  1. See CreateDatabaseRequestRequestTypeDef

create_dev_endpoint

Creates a new development endpoint.

Type annotations and code completion for boto3.client("glue").create_dev_endpoint method. boto3 documentation

Method definition
def create_dev_endpoint(
    self,
    *,
    EndpointName: str,
    RoleArn: str,
    SecurityGroupIds: Sequence[str] = ...,
    SubnetId: str = ...,
    PublicKey: str = ...,
    PublicKeys: Sequence[str] = ...,
    NumberOfNodes: int = ...,
    WorkerType: WorkerTypeType = ...,  # (1)
    GlueVersion: str = ...,
    NumberOfWorkers: int = ...,
    ExtraPythonLibsS3Path: str = ...,
    ExtraJarsS3Path: str = ...,
    SecurityConfiguration: str = ...,
    Tags: Mapping[str, str] = ...,
    Arguments: Mapping[str, str] = ...,
) -> CreateDevEndpointResponseTypeDef:  # (2)
    ...
  1. See WorkerTypeType
  2. See CreateDevEndpointResponseTypeDef
Usage example with kwargs
kwargs: CreateDevEndpointRequestRequestTypeDef = {  # (1)
    "EndpointName": ...,
    "RoleArn": ...,
}

parent.create_dev_endpoint(**kwargs)
  1. See CreateDevEndpointRequestRequestTypeDef

create_job

Creates a new job definition.

Type annotations and code completion for boto3.client("glue").create_job method. boto3 documentation

Method definition
def create_job(
    self,
    *,
    Name: str,
    Role: str,
    Command: JobCommandTypeDef,  # (1)
    Description: str = ...,
    LogUri: str = ...,
    ExecutionProperty: ExecutionPropertyTypeDef = ...,  # (2)
    DefaultArguments: Mapping[str, str] = ...,
    NonOverridableArguments: Mapping[str, str] = ...,
    Connections: ConnectionsListTypeDef = ...,  # (3)
    MaxRetries: int = ...,
    AllocatedCapacity: int = ...,
    Timeout: int = ...,
    MaxCapacity: float = ...,
    SecurityConfiguration: str = ...,
    Tags: Mapping[str, str] = ...,
    NotificationProperty: NotificationPropertyTypeDef = ...,  # (4)
    GlueVersion: str = ...,
    NumberOfWorkers: int = ...,
    WorkerType: WorkerTypeType = ...,  # (5)
    CodeGenConfigurationNodes: Mapping[str, CodeGenConfigurationNodeTypeDef] = ...,  # (6)
    ExecutionClass: ExecutionClassType = ...,  # (7)
) -> CreateJobResponseTypeDef:  # (8)
    ...
  1. See JobCommandTypeDef
  2. See ExecutionPropertyTypeDef
  3. See ConnectionsListTypeDef
  4. See NotificationPropertyTypeDef
  5. See WorkerTypeType
  6. See CodeGenConfigurationNodeTypeDef
  7. See ExecutionClassType
  8. See CreateJobResponseTypeDef
Usage example with kwargs
kwargs: CreateJobRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "Role": ...,
    "Command": ...,
}

parent.create_job(**kwargs)
  1. See CreateJobRequestRequestTypeDef

create_ml_transform

Creates an Glue machine learning transform.

Type annotations and code completion for boto3.client("glue").create_ml_transform method. boto3 documentation

Method definition
def create_ml_transform(
    self,
    *,
    Name: str,
    InputRecordTables: Sequence[GlueTableTypeDef],  # (1)
    Parameters: TransformParametersTypeDef,  # (2)
    Role: str,
    Description: str = ...,
    GlueVersion: str = ...,
    MaxCapacity: float = ...,
    WorkerType: WorkerTypeType = ...,  # (3)
    NumberOfWorkers: int = ...,
    Timeout: int = ...,
    MaxRetries: int = ...,
    Tags: Mapping[str, str] = ...,
    TransformEncryption: TransformEncryptionTypeDef = ...,  # (4)
) -> CreateMLTransformResponseTypeDef:  # (5)
    ...
  1. See GlueTableTypeDef
  2. See TransformParametersTypeDef
  3. See WorkerTypeType
  4. See TransformEncryptionTypeDef
  5. See CreateMLTransformResponseTypeDef
Usage example with kwargs
kwargs: CreateMLTransformRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "InputRecordTables": ...,
    "Parameters": ...,
    "Role": ...,
}

parent.create_ml_transform(**kwargs)
  1. See CreateMLTransformRequestRequestTypeDef

create_partition

Creates a new partition.

Type annotations and code completion for boto3.client("glue").create_partition method. boto3 documentation

Method definition
def create_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionInput: PartitionInputTypeDef,  # (1)
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
  1. See PartitionInputTypeDef
Usage example with kwargs
kwargs: CreatePartitionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "PartitionInput": ...,
}

parent.create_partition(**kwargs)
  1. See CreatePartitionRequestRequestTypeDef

create_partition_index

Creates a specified partition index in an existing table.

Type annotations and code completion for boto3.client("glue").create_partition_index method. boto3 documentation

Method definition
def create_partition_index(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionIndex: PartitionIndexTypeDef,  # (1)
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
  1. See PartitionIndexTypeDef
Usage example with kwargs
kwargs: CreatePartitionIndexRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "PartitionIndex": ...,
}

parent.create_partition_index(**kwargs)
  1. See CreatePartitionIndexRequestRequestTypeDef

create_registry

Creates a new registry which may be used to hold a collection of schemas.

Type annotations and code completion for boto3.client("glue").create_registry method. boto3 documentation

Method definition
def create_registry(
    self,
    *,
    RegistryName: str,
    Description: str = ...,
    Tags: Mapping[str, str] = ...,
) -> CreateRegistryResponseTypeDef:  # (1)
    ...
  1. See CreateRegistryResponseTypeDef
Usage example with kwargs
kwargs: CreateRegistryInputRequestTypeDef = {  # (1)
    "RegistryName": ...,
}

parent.create_registry(**kwargs)
  1. See CreateRegistryInputRequestTypeDef

create_schema

Creates a new schema set and registers the schema definition.

Type annotations and code completion for boto3.client("glue").create_schema method. boto3 documentation

Method definition
def create_schema(
    self,
    *,
    SchemaName: str,
    DataFormat: DataFormatType,  # (1)
    RegistryId: RegistryIdTypeDef = ...,  # (2)
    Compatibility: CompatibilityType = ...,  # (3)
    Description: str = ...,
    Tags: Mapping[str, str] = ...,
    SchemaDefinition: str = ...,
) -> CreateSchemaResponseTypeDef:  # (4)
    ...
  1. See DataFormatType
  2. See RegistryIdTypeDef
  3. See CompatibilityType
  4. See CreateSchemaResponseTypeDef
Usage example with kwargs
kwargs: CreateSchemaInputRequestTypeDef = {  # (1)
    "SchemaName": ...,
    "DataFormat": ...,
}

parent.create_schema(**kwargs)
  1. See CreateSchemaInputRequestTypeDef

create_script

Transforms a directed acyclic graph (DAG) into code.

Type annotations and code completion for boto3.client("glue").create_script method. boto3 documentation

Method definition
def create_script(
    self,
    *,
    DagNodes: Sequence[CodeGenNodeTypeDef] = ...,  # (1)
    DagEdges: Sequence[CodeGenEdgeTypeDef] = ...,  # (2)
    Language: LanguageType = ...,  # (3)
) -> CreateScriptResponseTypeDef:  # (4)
    ...
  1. See CodeGenNodeTypeDef
  2. See CodeGenEdgeTypeDef
  3. See LanguageType
  4. See CreateScriptResponseTypeDef
Usage example with kwargs
kwargs: CreateScriptRequestRequestTypeDef = {  # (1)
    "DagNodes": ...,
}

parent.create_script(**kwargs)
  1. See CreateScriptRequestRequestTypeDef

create_security_configuration

Creates a new security configuration.

Type annotations and code completion for boto3.client("glue").create_security_configuration method. boto3 documentation

Method definition
def create_security_configuration(
    self,
    *,
    Name: str,
    EncryptionConfiguration: EncryptionConfigurationTypeDef,  # (1)
) -> CreateSecurityConfigurationResponseTypeDef:  # (2)
    ...
  1. See EncryptionConfigurationTypeDef
  2. See CreateSecurityConfigurationResponseTypeDef
Usage example with kwargs
kwargs: CreateSecurityConfigurationRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "EncryptionConfiguration": ...,
}

parent.create_security_configuration(**kwargs)
  1. See CreateSecurityConfigurationRequestRequestTypeDef

create_session

Creates a new session.

Type annotations and code completion for boto3.client("glue").create_session method. boto3 documentation

Method definition
def create_session(
    self,
    *,
    Id: str,
    Role: str,
    Command: SessionCommandTypeDef,  # (1)
    Description: str = ...,
    Timeout: int = ...,
    IdleTimeout: int = ...,
    DefaultArguments: Mapping[str, str] = ...,
    Connections: ConnectionsListTypeDef = ...,  # (2)
    MaxCapacity: float = ...,
    NumberOfWorkers: int = ...,
    WorkerType: WorkerTypeType = ...,  # (3)
    SecurityConfiguration: str = ...,
    GlueVersion: str = ...,
    Tags: Mapping[str, str] = ...,
    RequestOrigin: str = ...,
) -> CreateSessionResponseTypeDef:  # (4)
    ...
  1. See SessionCommandTypeDef
  2. See ConnectionsListTypeDef
  3. See WorkerTypeType
  4. See CreateSessionResponseTypeDef
Usage example with kwargs
kwargs: CreateSessionRequestRequestTypeDef = {  # (1)
    "Id": ...,
    "Role": ...,
    "Command": ...,
}

parent.create_session(**kwargs)
  1. See CreateSessionRequestRequestTypeDef

create_table

Creates a new table definition in the Data Catalog.

Type annotations and code completion for boto3.client("glue").create_table method. boto3 documentation

Method definition
def create_table(
    self,
    *,
    DatabaseName: str,
    TableInput: TableInputTypeDef,  # (1)
    CatalogId: str = ...,
    PartitionIndexes: Sequence[PartitionIndexTypeDef] = ...,  # (2)
    TransactionId: str = ...,
) -> Dict[str, Any]:
    ...
  1. See TableInputTypeDef
  2. See PartitionIndexTypeDef
Usage example with kwargs
kwargs: CreateTableRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableInput": ...,
}

parent.create_table(**kwargs)
  1. See CreateTableRequestRequestTypeDef

create_trigger

Creates a new trigger.

Type annotations and code completion for boto3.client("glue").create_trigger method. boto3 documentation

Method definition
def create_trigger(
    self,
    *,
    Name: str,
    Type: TriggerTypeType,  # (1)
    Actions: Sequence[ActionTypeDef],  # (2)
    WorkflowName: str = ...,
    Schedule: str = ...,
    Predicate: PredicateTypeDef = ...,  # (3)
    Description: str = ...,
    StartOnCreation: bool = ...,
    Tags: Mapping[str, str] = ...,
    EventBatchingCondition: EventBatchingConditionTypeDef = ...,  # (4)
) -> CreateTriggerResponseTypeDef:  # (5)
    ...
  1. See TriggerTypeType
  2. See ActionTypeDef
  3. See PredicateTypeDef
  4. See EventBatchingConditionTypeDef
  5. See CreateTriggerResponseTypeDef
Usage example with kwargs
kwargs: CreateTriggerRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "Type": ...,
    "Actions": ...,
}

parent.create_trigger(**kwargs)
  1. See CreateTriggerRequestRequestTypeDef

create_user_defined_function

Creates a new function definition in the Data Catalog.

Type annotations and code completion for boto3.client("glue").create_user_defined_function method. boto3 documentation

Method definition
def create_user_defined_function(
    self,
    *,
    DatabaseName: str,
    FunctionInput: UserDefinedFunctionInputTypeDef,  # (1)
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
  1. See UserDefinedFunctionInputTypeDef
Usage example with kwargs
kwargs: CreateUserDefinedFunctionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "FunctionInput": ...,
}

parent.create_user_defined_function(**kwargs)
  1. See CreateUserDefinedFunctionRequestRequestTypeDef

create_workflow

Creates a new workflow.

Type annotations and code completion for boto3.client("glue").create_workflow method. boto3 documentation

Method definition
def create_workflow(
    self,
    *,
    Name: str,
    Description: str = ...,
    DefaultRunProperties: Mapping[str, str] = ...,
    Tags: Mapping[str, str] = ...,
    MaxConcurrentRuns: int = ...,
) -> CreateWorkflowResponseTypeDef:  # (1)
    ...
  1. See CreateWorkflowResponseTypeDef
Usage example with kwargs
kwargs: CreateWorkflowRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.create_workflow(**kwargs)
  1. See CreateWorkflowRequestRequestTypeDef

delete_blueprint

Deletes an existing blueprint.

Type annotations and code completion for boto3.client("glue").delete_blueprint method. boto3 documentation

Method definition
def delete_blueprint(
    self,
    *,
    Name: str,
) -> DeleteBlueprintResponseTypeDef:  # (1)
    ...
  1. See DeleteBlueprintResponseTypeDef
Usage example with kwargs
kwargs: DeleteBlueprintRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.delete_blueprint(**kwargs)
  1. See DeleteBlueprintRequestRequestTypeDef

delete_classifier

Removes a classifier from the Data Catalog.

Type annotations and code completion for boto3.client("glue").delete_classifier method. boto3 documentation

Method definition
def delete_classifier(
    self,
    *,
    Name: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteClassifierRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.delete_classifier(**kwargs)
  1. See DeleteClassifierRequestRequestTypeDef

delete_column_statistics_for_partition

Delete the partition column statistics of a column.

Type annotations and code completion for boto3.client("glue").delete_column_statistics_for_partition method. boto3 documentation

Method definition
def delete_column_statistics_for_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionValues: Sequence[str],
    ColumnName: str,
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteColumnStatisticsForPartitionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "PartitionValues": ...,
    "ColumnName": ...,
}

parent.delete_column_statistics_for_partition(**kwargs)
  1. See DeleteColumnStatisticsForPartitionRequestRequestTypeDef

delete_column_statistics_for_table

Retrieves table statistics of columns.

Type annotations and code completion for boto3.client("glue").delete_column_statistics_for_table method. boto3 documentation

Method definition
def delete_column_statistics_for_table(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    ColumnName: str,
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteColumnStatisticsForTableRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "ColumnName": ...,
}

parent.delete_column_statistics_for_table(**kwargs)
  1. See DeleteColumnStatisticsForTableRequestRequestTypeDef

delete_connection

Deletes a connection from the Data Catalog.

Type annotations and code completion for boto3.client("glue").delete_connection method.