Skip to content

GlueClient#

Index > Glue > GlueClient

Auto-generated documentation for Glue type annotations stubs module types-aiobotocore-glue.

GlueClient#

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

GlueClient usage example

from aiobotocore.session import get_session
from types_aiobotocore_glue.client import GlueClient

session = get_session()
async with session.create_client("glue") as client:
    client: GlueClient

Exceptions#

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

GlueClient.exceptions usage example

async with session.create_client("glue") as client:
    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.FederatedResourceAlreadyExistsException,
        client.FederationSourceException,
        client.FederationSourceRetryableException,
        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)
GlueClient usage type checking example

from types_aiobotocore_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 session.create_client("glue").batch_create_partition method. boto3 documentation

# batch_create_partition method definition

await def batch_create_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionInputList: Sequence[PartitionInputTypeDef],  # (1)
    CatalogId: str = ...,
) -> BatchCreatePartitionResponseTypeDef:  # (2)
    ...
  1. See PartitionInputTypeDef
  2. See BatchCreatePartitionResponseTypeDef
# batch_create_partition method usage example with argument unpacking

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 session.create_client("glue").batch_delete_connection method. boto3 documentation

# batch_delete_connection method definition

await def batch_delete_connection(
    self,
    *,
    ConnectionNameList: Sequence[str],
    CatalogId: str = ...,
) -> BatchDeleteConnectionResponseTypeDef:  # (1)
    ...
  1. See BatchDeleteConnectionResponseTypeDef
# batch_delete_connection method usage example with argument unpacking

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 session.create_client("glue").batch_delete_partition method. boto3 documentation

# batch_delete_partition method definition

await def batch_delete_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionsToDelete: Sequence[PartitionValueListTypeDef],  # (1)
    CatalogId: str = ...,
) -> BatchDeletePartitionResponseTypeDef:  # (2)
    ...
  1. See PartitionValueListTypeDef
  2. See BatchDeletePartitionResponseTypeDef
# batch_delete_partition method usage example with argument unpacking

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 session.create_client("glue").batch_delete_table method. boto3 documentation

# batch_delete_table method definition

await def batch_delete_table(
    self,
    *,
    DatabaseName: str,
    TablesToDelete: Sequence[str],
    CatalogId: str = ...,
    TransactionId: str = ...,
) -> BatchDeleteTableResponseTypeDef:  # (1)
    ...
  1. See BatchDeleteTableResponseTypeDef
# batch_delete_table method usage example with argument unpacking

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 session.create_client("glue").batch_delete_table_version method. boto3 documentation

# batch_delete_table_version method definition

await def batch_delete_table_version(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    VersionIds: Sequence[str],
    CatalogId: str = ...,
) -> BatchDeleteTableVersionResponseTypeDef:  # (1)
    ...
  1. See BatchDeleteTableVersionResponseTypeDef
# batch_delete_table_version method usage example with argument unpacking

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 session.create_client("glue").batch_get_blueprints method. boto3 documentation

# batch_get_blueprints method definition

await def batch_get_blueprints(
    self,
    *,
    Names: Sequence[str],
    IncludeBlueprint: bool = ...,
    IncludeParameterSpec: bool = ...,
) -> BatchGetBlueprintsResponseTypeDef:  # (1)
    ...
  1. See BatchGetBlueprintsResponseTypeDef
# batch_get_blueprints method usage example with argument unpacking

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 session.create_client("glue").batch_get_crawlers method. boto3 documentation

# batch_get_crawlers method definition

await def batch_get_crawlers(
    self,
    *,
    CrawlerNames: Sequence[str],
) -> BatchGetCrawlersResponseTypeDef:  # (1)
    ...
  1. See BatchGetCrawlersResponseTypeDef
# batch_get_crawlers method usage example with argument unpacking

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 session.create_client("glue").batch_get_custom_entity_types method. boto3 documentation

# batch_get_custom_entity_types method definition

await def batch_get_custom_entity_types(
    self,
    *,
    Names: Sequence[str],
) -> BatchGetCustomEntityTypesResponseTypeDef:  # (1)
    ...
  1. See BatchGetCustomEntityTypesResponseTypeDef
# batch_get_custom_entity_types method usage example with argument unpacking

kwargs: BatchGetCustomEntityTypesRequestRequestTypeDef = {  # (1)
    "Names": ...,
}

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

batch_get_data_quality_result#

Retrieves a list of data quality results for the specified result IDs.

Type annotations and code completion for session.create_client("glue").batch_get_data_quality_result method. boto3 documentation

# batch_get_data_quality_result method definition

await def batch_get_data_quality_result(
    self,
    *,
    ResultIds: Sequence[str],
) -> BatchGetDataQualityResultResponseTypeDef:  # (1)
    ...
  1. See BatchGetDataQualityResultResponseTypeDef
# batch_get_data_quality_result method usage example with argument unpacking

kwargs: BatchGetDataQualityResultRequestRequestTypeDef = {  # (1)
    "ResultIds": ...,
}

parent.batch_get_data_quality_result(**kwargs)
  1. See BatchGetDataQualityResultRequestRequestTypeDef

batch_get_dev_endpoints#

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

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

# batch_get_dev_endpoints method definition

await def batch_get_dev_endpoints(
    self,
    *,
    DevEndpointNames: Sequence[str],
) -> BatchGetDevEndpointsResponseTypeDef:  # (1)
    ...
  1. See BatchGetDevEndpointsResponseTypeDef
# batch_get_dev_endpoints method usage example with argument unpacking

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 session.create_client("glue").batch_get_jobs method. boto3 documentation

# batch_get_jobs method definition

await def batch_get_jobs(
    self,
    *,
    JobNames: Sequence[str],
) -> BatchGetJobsResponseTypeDef:  # (1)
    ...
  1. See BatchGetJobsResponseTypeDef
# batch_get_jobs method usage example with argument unpacking

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 session.create_client("glue").batch_get_partition method. boto3 documentation

# batch_get_partition method definition

await def batch_get_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionsToGet: Sequence[PartitionValueListTypeDef],  # (1)
    CatalogId: str = ...,
) -> BatchGetPartitionResponseTypeDef:  # (2)
    ...
  1. See PartitionValueListTypeDef
  2. See BatchGetPartitionResponseTypeDef
# batch_get_partition method usage example with argument unpacking

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 session.create_client("glue").batch_get_triggers method. boto3 documentation

# batch_get_triggers method definition

await def batch_get_triggers(
    self,
    *,
    TriggerNames: Sequence[str],
) -> BatchGetTriggersResponseTypeDef:  # (1)
    ...
  1. See BatchGetTriggersResponseTypeDef
# batch_get_triggers method usage example with argument unpacking

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 session.create_client("glue").batch_get_workflows method. boto3 documentation

# batch_get_workflows method definition

await def batch_get_workflows(
    self,
    *,
    Names: Sequence[str],
    IncludeGraph: bool = ...,
) -> BatchGetWorkflowsResponseTypeDef:  # (1)
    ...
  1. See BatchGetWorkflowsResponseTypeDef
# batch_get_workflows method usage example with argument unpacking

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 session.create_client("glue").batch_stop_job_run method. boto3 documentation

# batch_stop_job_run method definition

await def batch_stop_job_run(
    self,
    *,
    JobName: str,
    JobRunIds: Sequence[str],
) -> BatchStopJobRunResponseTypeDef:  # (1)
    ...
  1. See BatchStopJobRunResponseTypeDef
# batch_stop_job_run method usage example with argument unpacking

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 session.create_client("glue").batch_update_partition method. boto3 documentation

# batch_update_partition method definition

await def batch_update_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    Entries: Sequence[BatchUpdatePartitionRequestEntryTypeDef],  # (1)
    CatalogId: str = ...,
) -> BatchUpdatePartitionResponseTypeDef:  # (2)
    ...
  1. See BatchUpdatePartitionRequestEntryTypeDef
  2. See BatchUpdatePartitionResponseTypeDef
# batch_update_partition method usage example with argument unpacking

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 session.create_client("glue").can_paginate method. boto3 documentation

# can_paginate method definition

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

cancel_data_quality_rule_recommendation_run#

Cancels the specified recommendation run that was being used to generate rules.

Type annotations and code completion for session.create_client("glue").cancel_data_quality_rule_recommendation_run method. boto3 documentation

# cancel_data_quality_rule_recommendation_run method definition

await def cancel_data_quality_rule_recommendation_run(
    self,
    *,
    RunId: str,
) -> Dict[str, Any]:
    ...
# cancel_data_quality_rule_recommendation_run method usage example with argument unpacking

kwargs: CancelDataQualityRuleRecommendationRunRequestRequestTypeDef = {  # (1)
    "RunId": ...,
}

parent.cancel_data_quality_rule_recommendation_run(**kwargs)
  1. See CancelDataQualityRuleRecommendationRunRequestRequestTypeDef

cancel_data_quality_ruleset_evaluation_run#

Cancels a run where a ruleset is being evaluated against a data source.

Type annotations and code completion for session.create_client("glue").cancel_data_quality_ruleset_evaluation_run method. boto3 documentation

# cancel_data_quality_ruleset_evaluation_run method definition

await def cancel_data_quality_ruleset_evaluation_run(
    self,
    *,
    RunId: str,
) -> Dict[str, Any]:
    ...
# cancel_data_quality_ruleset_evaluation_run method usage example with argument unpacking

kwargs: CancelDataQualityRulesetEvaluationRunRequestRequestTypeDef = {  # (1)
    "RunId": ...,
}

parent.cancel_data_quality_ruleset_evaluation_run(**kwargs)
  1. See CancelDataQualityRulesetEvaluationRunRequestRequestTypeDef

cancel_ml_task_run#

Cancels (stops) a task run.

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

# cancel_ml_task_run method definition

await def cancel_ml_task_run(
    self,
    *,
    TransformId: str,
    TaskRunId: str,
) -> CancelMLTaskRunResponseTypeDef:  # (1)
    ...
  1. See CancelMLTaskRunResponseTypeDef
# cancel_ml_task_run method usage example with argument unpacking

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 session.create_client("glue").cancel_statement method. boto3 documentation

# cancel_statement method definition

await def cancel_statement(
    self,
    *,
    SessionId: str,
    Id: int,
    RequestOrigin: str = ...,
) -> Dict[str, Any]:
    ...
# cancel_statement method usage example with argument unpacking

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 session.create_client("glue").check_schema_version_validity method. boto3 documentation

# check_schema_version_validity method definition

await def check_schema_version_validity(
    self,
    *,
    DataFormat: DataFormatType,  # (1)
    SchemaDefinition: str,
) -> CheckSchemaVersionValidityResponseTypeDef:  # (2)
    ...
  1. See DataFormatType
  2. See CheckSchemaVersionValidityResponseTypeDef
# check_schema_version_validity method usage example with argument unpacking

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 session.create_client("glue").close method. boto3 documentation

# close method definition

await def close(
    self,
) -> None:
    ...

create_blueprint#

Registers a blueprint with Glue.

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

# create_blueprint method definition

await def create_blueprint(
    self,
    *,
    Name: str,
    BlueprintLocation: str,
    Description: str = ...,
    Tags: Mapping[str, str] = ...,
) -> CreateBlueprintResponseTypeDef:  # (1)
    ...
  1. See CreateBlueprintResponseTypeDef
# create_blueprint method usage example with argument unpacking

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 session.create_client("glue").create_classifier method. boto3 documentation

# create_classifier method definition

await 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
# create_classifier method usage example with argument unpacking

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 session.create_client("glue").create_connection method. boto3 documentation

# create_connection method definition

await def create_connection(
    self,
    *,
    ConnectionInput: ConnectionInputTypeDef,  # (1)
    CatalogId: str = ...,
    Tags: Mapping[str, str] = ...,
) -> Dict[str, Any]:
    ...
  1. See ConnectionInputTypeDef
# create_connection method usage example with argument unpacking

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 session.create_client("glue").create_crawler method. boto3 documentation

# create_crawler method definition

await 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
# create_crawler method usage example with argument unpacking

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 session.create_client("glue").create_custom_entity_type method. boto3 documentation

# create_custom_entity_type method definition

await def create_custom_entity_type(
    self,
    *,
    Name: str,
    RegexString: str,
    ContextWords: Sequence[str] = ...,
    Tags: Mapping[str, str] = ...,
) -> CreateCustomEntityTypeResponseTypeDef:  # (1)
    ...
  1. See CreateCustomEntityTypeResponseTypeDef
# create_custom_entity_type method usage example with argument unpacking

kwargs: CreateCustomEntityTypeRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "RegexString": ...,
}

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

create_data_quality_ruleset#

Creates a data quality ruleset with DQDL rules applied to a specified Glue table.

Type annotations and code completion for session.create_client("glue").create_data_quality_ruleset method. boto3 documentation

# create_data_quality_ruleset method definition

await def create_data_quality_ruleset(
    self,
    *,
    Name: str,
    Ruleset: str,
    Description: str = ...,
    Tags: Mapping[str, str] = ...,
    TargetTable: DataQualityTargetTableTypeDef = ...,  # (1)
    ClientToken: str = ...,
) -> CreateDataQualityRulesetResponseTypeDef:  # (2)
    ...
  1. See DataQualityTargetTableTypeDef
  2. See CreateDataQualityRulesetResponseTypeDef
# create_data_quality_ruleset method usage example with argument unpacking

kwargs: CreateDataQualityRulesetRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "Ruleset": ...,
}

parent.create_data_quality_ruleset(**kwargs)
  1. See CreateDataQualityRulesetRequestRequestTypeDef

create_database#

Creates a new database in a Data Catalog.

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

# create_database method definition

await def create_database(
    self,
    *,
    DatabaseInput: DatabaseInputTypeDef,  # (1)
    CatalogId: str = ...,
    Tags: Mapping[str, str] = ...,
) -> Dict[str, Any]:
    ...
  1. See DatabaseInputTypeDef
# create_database method usage example with argument unpacking

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 session.create_client("glue").create_dev_endpoint method. boto3 documentation

# create_dev_endpoint method definition

await 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
# create_dev_endpoint method usage example with argument unpacking

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 session.create_client("glue").create_job method. boto3 documentation

# create_job method definition

await 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)
    SourceControlDetails: SourceControlDetailsTypeDef = ...,  # (8)
) -> CreateJobResponseTypeDef:  # (9)
    ...
  1. See JobCommandTypeDef
  2. See ExecutionPropertyTypeDef
  3. See ConnectionsListTypeDef
  4. See NotificationPropertyTypeDef
  5. See WorkerTypeType
  6. See CodeGenConfigurationNodeTypeDef
  7. See ExecutionClassType
  8. See SourceControlDetailsTypeDef
  9. See CreateJobResponseTypeDef
# create_job method usage example with argument unpacking

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 session.create_client("glue").create_ml_transform method. boto3 documentation

# create_ml_transform method definition

await 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
# create_ml_transform method usage example with argument unpacking

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 session.create_client("glue").create_partition method. boto3 documentation

# create_partition method definition

await def create_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionInput: PartitionInputTypeDef,  # (1)
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
  1. See PartitionInputTypeDef
# create_partition method usage example with argument unpacking

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 session.create_client("glue").create_partition_index method. boto3 documentation

# create_partition_index method definition

await def create_partition_index(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionIndex: PartitionIndexTypeDef,  # (1)
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
  1. See PartitionIndexTypeDef
# create_partition_index method usage example with argument unpacking

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 session.create_client("glue").create_registry method. boto3 documentation

# create_registry method definition

await def create_registry(
    self,
    *,
    RegistryName: str,
    Description: str = ...,
    Tags: Mapping[str, str] = ...,
) -> CreateRegistryResponseTypeDef:  # (1)
    ...
  1. See CreateRegistryResponseTypeDef
# create_registry method usage example with argument unpacking

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 session.create_client("glue").create_schema method. boto3 documentation

# create_schema method definition

await 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
# create_schema method usage example with argument unpacking

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 session.create_client("glue").create_script method. boto3 documentation

# create_script method definition

await 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
# create_script method usage example with argument unpacking

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 session.create_client("glue").create_security_configuration method. boto3 documentation

# create_security_configuration method definition

await def create_security_configuration(
    self,
    *,
    Name: str,
    EncryptionConfiguration: EncryptionConfigurationTypeDef,  # (1)
) -> CreateSecurityConfigurationResponseTypeDef:  # (2)
    ...
  1. See EncryptionConfigurationTypeDef
  2. See CreateSecurityConfigurationResponseTypeDef
# create_security_configuration method usage example with argument unpacking

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 session.create_client("glue").create_session method. boto3 documentation

# create_session method definition

await 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
# create_session method usage example with argument unpacking

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 session.create_client("glue").create_table method. boto3 documentation

# create_table method definition

await def create_table(
    self,
    *,
    DatabaseName: str,
    TableInput: TableInputTypeDef,  # (1)
    CatalogId: str = ...,
    PartitionIndexes: Sequence[PartitionIndexTypeDef] = ...,  # (2)
    TransactionId: str = ...,
    OpenTableFormatInput: OpenTableFormatInputTypeDef = ...,  # (3)
) -> Dict[str, Any]:
    ...
  1. See TableInputTypeDef
  2. See PartitionIndexTypeDef
  3. See OpenTableFormatInputTypeDef
# create_table method usage example with argument unpacking

kwargs: CreateTableRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableInput": ...,
}

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

create_trigger#

Creates a new trigger.

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

# create_trigger method definition

await 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
# create_trigger method usage example with argument unpacking

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 session.create_client("glue").create_user_defined_function method. boto3 documentation

# create_user_defined_function method definition

await def create_user_defined_function(
    self,
    *,
    DatabaseName: str,
    FunctionInput: UserDefinedFunctionInputTypeDef,  # (1)
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
  1. See UserDefinedFunctionInputTypeDef
# create_user_defined_function method usage example with argument unpacking

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 session.create_client("glue").create_workflow method. boto3 documentation

# create_workflow method definition

await def create_workflow(
    self,
    *,
    Name: str,
    Description: str = ...,
    DefaultRunProperties: Mapping[str, str] = ...,
    Tags: Mapping[str, str] = ...,
    MaxConcurrentRuns: int = ...,
) -> CreateWorkflowResponseTypeDef:  # (1)
    ...
  1. See CreateWorkflowResponseTypeDef
# create_workflow method usage example with argument unpacking

kwargs: CreateWorkflowRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

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

delete_blueprint#

Deletes an existing blueprint.

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

# delete_blueprint method definition

await def delete_blueprint(
    self,
    *,
    Name: str,
) -> DeleteBlueprintResponseTypeDef:  # (1)
    ...
  1. See DeleteBlueprintResponseTypeDef
# delete_blueprint method usage example with argument unpacking

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 session.create_client("glue").delete_classifier method. boto3 documentation

# delete_classifier method definition

await def delete_classifier(
    self,
    *,
    Name: str,
) -> Dict[str, Any]:
    ...
# delete_classifier method usage example with argument unpacking

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 session.create_client("glue").delete_column_statistics_for_partition method. boto3 documentation

# delete_column_statistics_for_partition method definition

await def delete_column_statistics_for_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionValues: Sequence[str],
    ColumnName: str,
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
# delete_column_statistics_for_partition method usage example with argument unpacking

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 session.create_client("glue").delete_column_statistics_for_table method. boto3 documentation

# delete_column_statistics_for_table method definition

await def delete_column_statistics_for_table(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    ColumnName: str,
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
# delete_column_statistics_for_table method usage example with argument unpacking

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 session.create_client("glue").delete_connection method. boto3 documentation

# delete_connection method definition

await def delete_connection(
    self,
    *,
    ConnectionName: str,
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
# delete_connection method usage example with argument unpacking

kwargs: DeleteConnectionRequestRequestTypeDef = {  # (1)
    "ConnectionName": ...,
}

parent.delete_connection(**kwargs)
  1. See DeleteConnectionRequestRequestTypeDef

delete_crawler#

Removes a specified crawler from the Glue Data Catalog, unless the crawler state is RUNNING.

Type annotations and code completion for session.create_client("glue").delete_crawler method. boto3 documentation

# delete_crawler method definition

await def delete_crawler(
    self,
    *,
    Name: str,
) -> Dict[str, Any]:
    ...
# delete_crawler method usage example with argument unpacking

kwargs: DeleteCrawlerRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.delete_crawler(**kwargs)
  1. See DeleteCrawlerRequestRequestTypeDef

delete_custom_entity_type#

Deletes a custom pattern by specifying its name.

Type annotations and code completion for session.create_client("glue").delete_custom_entity_type method. boto3 documentation

# delete_custom_entity_type method definition

await def delete_custom_entity_type(
    self,
    *,
    Name: str,
) -> DeleteCustomEntityTypeResponseTypeDef:  # (1)
    ...
  1. See DeleteCustomEntityTypeResponseTypeDef
# delete_custom_entity_type method usage example with argument unpacking

kwargs: DeleteCustomEntityTypeRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.delete_custom_entity_type(**kwargs)
  1. See DeleteCustomEntityTypeRequestRequestTypeDef

delete_data_quality_ruleset#

Deletes a data quality ruleset.

Type annotations and code completion for session.create_client("glue").delete_data_quality_ruleset method. boto3 documentation

# delete_data_quality_ruleset method definition

await def delete_data_quality_ruleset(
    self,
    *,
    Name: str,
) -> Dict[str, Any]:
    ...
# delete_data_quality_ruleset method usage example with argument unpacking

kwargs: DeleteDataQualityRulesetRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.delete_data_quality_ruleset(**kwargs)
  1. See DeleteDataQualityRulesetRequestRequestTypeDef

delete_database#

Removes a specified database from a Data Catalog.

Type annotations and code completion for session.create_client("glue").delete_database method. boto3 documentation

# delete_database method definition

await def delete_database(
    self,
    *,
    Name: str,
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
# delete_database method usage example with argument unpacking

kwargs: DeleteDatabaseRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.delete_database(**kwargs)
  1. See DeleteDatabaseRequestRequestTypeDef

delete_dev_endpoint#

Deletes a specified development endpoint.

Type annotations and code completion for session.create_client("glue").delete_dev_endpoint method. boto3 documentation

# delete_dev_endpoint method definition

await def delete_dev_endpoint(
    self,
    *,
    EndpointName: str,
) -> Dict[str, Any]:
    ...
# delete_dev_endpoint method usage example with argument unpacking

kwargs: DeleteDevEndpointRequestRequestTypeDef = {  # (1)
    "EndpointName": ...,
}

parent.delete_dev_endpoint(**kwargs)
  1. See DeleteDevEndpointRequestRequestTypeDef

delete_job#

Deletes a specified job definition.

Type annotations and code completion for session.create_client("glue").delete_job method. boto3 documentation

# delete_job method definition

await def delete_job(
    self,
    *,
    JobName: str,
) -> DeleteJobResponseTypeDef:  # (1)
    ...
  1. See DeleteJobResponseTypeDef
# delete_job method usage example with argument unpacking

kwargs: DeleteJobRequestRequestTypeDef = {  # (1)
    "JobName": ...,
}

parent.delete_job(**kwargs)
  1. See DeleteJobRequestRequestTypeDef

delete_ml_transform#

Deletes an Glue machine learning transform.

Type annotations and code completion for session.create_client("glue").delete_ml_transform method. boto3 documentation

# delete_ml_transform method definition

await def delete_ml_transform(
    self,
    *,
    TransformId: str,
) -> DeleteMLTransformResponseTypeDef:  # (1)
    ...
  1. See DeleteMLTransformResponseTypeDef
# delete_ml_transform method usage example with argument unpacking

kwargs: DeleteMLTransformRequestRequestTypeDef = {  # (1)
    "TransformId": ...,
}

parent.delete_ml_transform(**kwargs)
  1. See DeleteMLTransformRequestRequestTypeDef

delete_partition#

Deletes a specified partition.

Type annotations and code completion for session.create_client("glue").delete_partition method. boto3 documentation

# delete_partition method definition

await def delete_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionValues: Sequence[str],
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
# delete_partition method usage example with argument unpacking

kwargs: DeletePartitionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "PartitionValues": ...,
}

parent.delete_partition(**kwargs)
  1. See DeletePartitionRequestRequestTypeDef

delete_partition_index#

Deletes a specified partition index from an existing table.

Type annotations and code completion for session.create_client("glue").delete_partition_index method. boto3 documentation

# delete_partition_index method definition

await def delete_partition_index(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    IndexName: str,
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
# delete_partition_index method usage example with argument unpacking

kwargs: DeletePartitionIndexRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "IndexName": ...,
}

parent.delete_partition_index(**kwargs)
  1. See DeletePartitionIndexRequestRequestTypeDef

delete_registry#

Delete the entire registry including schema and all of its versions.

Type annotations and code completion for session.create_client("glue").delete_registry method. boto3 documentation

# delete_registry method definition

await def delete_registry(
    self,
    *,
    RegistryId: RegistryIdTypeDef,  # (1)
) -> DeleteRegistryResponseTypeDef:  # (2)
    ...
  1. See RegistryIdTypeDef
  2. See DeleteRegistryResponseTypeDef
# delete_registry method usage example with argument unpacking

kwargs: DeleteRegistryInputRequestTypeDef = {  # (1)
    "RegistryId": ...,
}

parent.delete_registry(**kwargs)
  1. See DeleteRegistryInputRequestTypeDef

delete_resource_policy#

Deletes a specified policy.

Type annotations and code completion for session.create_client("glue").delete_resource_policy method. boto3 documentation

# delete_resource_policy method definition

await def delete_resource_policy(
    self,
    *,
    PolicyHashCondition: str = ...,
    ResourceArn: str = ...,
) -> Dict[str, Any]:
    ...
# delete_resource_policy method usage example with argument unpacking

kwargs: DeleteResourcePolicyRequestRequestTypeDef = {  # (1)
    "PolicyHashCondition": ...,
}

parent.delete_resource_policy(**kwargs)
  1. See DeleteResourcePolicyRequestRequestTypeDef

delete_schema#

Deletes the entire schema set, including the schema set and all of its versions.

Type annotations and code completion for session.create_client("glue").delete_schema method. boto3 documentation

# delete_schema method definition

await def delete_schema(
    self,
    *,
    SchemaId: SchemaIdTypeDef,  # (1)
) -> DeleteSchemaResponseTypeDef:  # (2)
    ...
  1. See SchemaIdTypeDef
  2. See DeleteSchemaResponseTypeDef
# delete_schema method usage example with argument unpacking

kwargs: DeleteSchemaInputRequestTypeDef = {  # (1)
    "SchemaId": ...,
}

parent.delete_schema(**kwargs)
  1. See DeleteSchemaInputRequestTypeDef

delete_schema_versions#

Remove versions from the specified schema.

Type annotations and code completion for session.create_client("glue").delete_schema_versions method. boto3 documentation

# delete_schema_versions method definition

await def delete_schema_versions(
    self,
    *,
    SchemaId: SchemaIdTypeDef,  # (1)
    Versions: str,
) -> DeleteSchemaVersionsResponseTypeDef:  # (2)
    ...
  1. See SchemaIdTypeDef
  2. See DeleteSchemaVersionsResponseTypeDef
# delete_schema_versions method usage example with argument unpacking

kwargs: DeleteSchemaVersionsInputRequestTypeDef = {  # (1)
    "SchemaId": ...,
    "Versions": ...,
}

parent.delete_schema_versions(**kwargs)
  1. See DeleteSchemaVersionsInputRequestTypeDef

delete_security_configuration#

Deletes a specified security configuration.

Type annotations and code completion for session.create_client("glue").delete_security_configuration method. boto3 documentation

# delete_security_configuration method definition

await def delete_security_configuration(
    self,
    *,
    Name: str,
) -> Dict[str, Any]:
    ...
# delete_security_configuration method usage example with argument unpacking

kwargs: DeleteSecurityConfigurationRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.delete_security_configuration(**kwargs)
  1. See DeleteSecurityConfigurationRequestRequestTypeDef

delete_session#

Deletes the session.

Type annotations and code completion for session.create_client("glue").delete_session method. boto3 documentation

# delete_session method definition

await def delete_session(
    self,
    *,
    Id: str,
    RequestOrigin: str = ...,
) -> DeleteSessionResponseTypeDef:  # (1)
    ...
  1. See DeleteSessionResponseTypeDef
# delete_session method usage example with argument unpacking

kwargs: DeleteSessionRequestRequestTypeDef = {  # (1)
    "Id": ...,
}

parent.delete_session(**kwargs)
  1. See DeleteSessionRequestRequestTypeDef

delete_table#

Removes a table definition from the Data Catalog.

Type annotations and code completion for session.create_client("glue").delete_table method. boto3 documentation

# delete_table method definition

await def delete_table(
    self,
    *,
    DatabaseName: str,
    Name: str,
    CatalogId: str = ...,
    TransactionId: str = ...,
) -> Dict[str, Any]:
    ...
# delete_table method usage example with argument unpacking

kwargs: DeleteTableRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "Name": ...,
}

parent.delete_table(**kwargs)
  1. See DeleteTableRequestRequestTypeDef

delete_table_version#

Deletes a specified version of a table.

Type annotations and code completion for session.create_client("glue").delete_table_version method. boto3 documentation

# delete_table_version method definition

await def delete_table_version(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    VersionId: str,
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
# delete_table_version method usage example with argument unpacking

kwargs: DeleteTableVersionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "VersionId": ...,
}

parent.delete_table_version(**kwargs)
  1. See DeleteTableVersionRequestRequestTypeDef

delete_trigger#

Deletes a specified trigger.

Type annotations and code completion for session.create_client("glue").delete_trigger method. boto3 documentation

# delete_trigger method definition

await def delete_trigger(
    self,
    *,
    Name: str,
) -> DeleteTriggerResponseTypeDef:  # (1)
    ...
  1. See DeleteTriggerResponseTypeDef
# delete_trigger method usage example with argument unpacking

kwargs: DeleteTriggerRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.delete_trigger(**kwargs)
  1. See DeleteTriggerRequestRequestTypeDef

delete_user_defined_function#

Deletes an existing function definition from the Data Catalog.

Type annotations and code completion for session.create_client("glue").delete_user_defined_function method. boto3 documentation

# delete_user_defined_function method definition

await def delete_user_defined_function(
    self,
    *,
    DatabaseName: str,
    FunctionName: str,
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
# delete_user_defined_function method usage example with argument unpacking

kwargs: DeleteUserDefinedFunctionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "FunctionName": ...,
}

parent.delete_user_defined_function(**kwargs)
  1. See DeleteUserDefinedFunctionRequestRequestTypeDef

delete_workflow#

Deletes a workflow.

Type annotations and code completion for session.create_client("glue").delete_workflow method. boto3 documentation

# delete_workflow method definition

await def delete_workflow(
    self,
    *,
    Name: str,
) -> DeleteWorkflowResponseTypeDef:  # (1)
    ...
  1. See DeleteWorkflowResponseTypeDef
# delete_workflow method usage example with argument unpacking

kwargs: DeleteWorkflowRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.delete_workflow(**kwargs)
  1. See DeleteWorkflowRequestRequestTypeDef

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for session.create_client("glue").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

await def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_blueprint#

Retrieves the details of a blueprint.

Type annotations and code completion for session.create_client("glue").get_blueprint method. boto3 documentation

# get_blueprint method definition

await def get_blueprint(
    self,
    *,
    Name: str,
    IncludeBlueprint: bool = ...,
    IncludeParameterSpec: bool = ...,
) -> GetBlueprintResponseTypeDef:  # (1)
    ...
  1. See GetBlueprintResponseTypeDef
# get_blueprint method usage example with argument unpacking

kwargs: GetBlueprintRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.get_blueprint(**kwargs)
  1. See GetBlueprintRequestRequestTypeDef

get_blueprint_run#

Retrieves the details of a blueprint run.

Type annotations and code completion for session.create_client("glue").get_blueprint_run method. boto3 documentation

# get_blueprint_run method definition

await def get_blueprint_run(
    self,
    *,
    BlueprintName: str,
    RunId: str,
) -> GetBlueprintRunResponseTypeDef:  # (1)
    ...
  1. See GetBlueprintRunResponseTypeDef
# get_blueprint_run method usage example with argument unpacking

kwargs: GetBlueprintRunRequestRequestTypeDef = {  # (1)
    "BlueprintName": ...,
    "RunId": ...,
}

parent.get_blueprint_run(**kwargs)
  1. See GetBlueprintRunRequestRequestTypeDef

get_blueprint_runs#

Retrieves the details of blueprint runs for a specified blueprint.

Type annotations and code completion for session.create_client("glue").get_blueprint_runs method. boto3 documentation

# get_blueprint_runs method definition

await def get_blueprint_runs(
    self,
    *,
    BlueprintName: str,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> GetBlueprintRunsResponseTypeDef:  # (1)
    ...
  1. See GetBlueprintRunsResponseTypeDef
# get_blueprint_runs method usage example with argument unpacking

kwargs: GetBlueprintRunsRequestRequestTypeDef = {  # (1)
    "BlueprintName": ...,
}

parent.get_blueprint_runs(**kwargs)
  1. See GetBlueprintRunsRequestRequestTypeDef

get_catalog_import_status#

Retrieves the status of a migration operation.

Type annotations and code completion for session.create_client("glue").get_catalog_import_status method. boto3 documentation

# get_catalog_import_status method definition

await def get_catalog_import_status(
    self,
    *,
    CatalogId: str = ...,
) -> GetCatalogImportStatusResponseTypeDef:  # (1)
    ...
  1. See GetCatalogImportStatusResponseTypeDef
# get_catalog_import_status method usage example with argument unpacking

kwargs: GetCatalogImportStatusRequestRequestTypeDef = {  # (1)
    "CatalogId": ...,
}

parent.get_catalog_import_status(**kwargs)
  1. See GetCatalogImportStatusRequestRequestTypeDef

get_classifier#

Retrieve a classifier by name.

Type annotations and code completion for session.create_client("glue").get_classifier method. boto3 documentation

# get_classifier method definition

await def get_classifier(
    self,
    *,
    Name: str,
) -> GetClassifierResponseTypeDef:  # (1)
    ...
  1. See GetClassifierResponseTypeDef
# get_classifier method usage example with argument unpacking

kwargs: GetClassifierRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.get_classifier(**kwargs)
  1. See GetClassifierRequestRequestTypeDef

get_classifiers#

Lists all classifier objects in the Data Catalog.

Type annotations and code completion for session.create_client("glue").get_classifiers method. boto3 documentation

# get_classifiers method definition

await def get_classifiers(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetClassifiersResponseTypeDef:  # (1)
    ...
  1. See GetClassifiersResponseTypeDef
# get_classifiers method usage example with argument unpacking

kwargs: GetClassifiersRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.get_classifiers(**kwargs)
  1. See GetClassifiersRequestRequestTypeDef

get_column_statistics_for_partition#

Retrieves partition statistics of columns.

Type annotations and code completion for session.create_client("glue").get_column_statistics_for_partition method. boto3 documentation

# get_column_statistics_for_partition method definition

await def get_column_statistics_for_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionValues: Sequence[str],
    ColumnNames: Sequence[str],
    CatalogId: str = ...,
) -> GetColumnStatisticsForPartitionResponseTypeDef:  # (1)
    ...
  1. See GetColumnStatisticsForPartitionResponseTypeDef
# get_column_statistics_for_partition method usage example with argument unpacking

kwargs: GetColumnStatisticsForPartitionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "PartitionValues": ...,
    "ColumnNames": ...,
}

parent.get_column_statistics_for_partition(**kwargs)
  1. See GetColumnStatisticsForPartitionRequestRequestTypeDef

get_column_statistics_for_table#

Retrieves table statistics of columns.

Type annotations and code completion for session.create_client("glue").get_column_statistics_for_table method. boto3 documentation

# get_column_statistics_for_table method definition

await def get_column_statistics_for_table(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    ColumnNames: Sequence[str],
    CatalogId: str = ...,
) -> GetColumnStatisticsForTableResponseTypeDef:  # (1)
    ...
  1. See GetColumnStatisticsForTableResponseTypeDef
# get_column_statistics_for_table method usage example with argument unpacking

kwargs: GetColumnStatisticsForTableRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "ColumnNames": ...,
}

parent.get_column_statistics_for_table(**kwargs)
  1. See GetColumnStatisticsForTableRequestRequestTypeDef

get_connection#

Retrieves a connection definition from the Data Catalog.

Type annotations and code completion for session.create_client("glue").get_connection method. boto3 documentation

# get_connection method definition

await def get_connection(
    self,
    *,
    Name: str,
    CatalogId: str = ...,
    HidePassword: bool = ...,
) -> GetConnectionResponseTypeDef:  # (1)
    ...
  1. See GetConnectionResponseTypeDef
# get_connection method usage example with argument unpacking

kwargs: GetConnectionRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.get_connection(**kwargs)
  1. See GetConnectionRequestRequestTypeDef

get_connections#

Retrieves a list of connection definitions from the Data Catalog.

Type annotations and code completion for session.create_client("glue").get_connections method. boto3 documentation

# get_connections method definition

await def get_connections(
    self,
    *,
    CatalogId: str = ...,
    Filter: GetConnectionsFilterTypeDef = ...,  # (1)
    HidePassword: bool = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> GetConnectionsResponseTypeDef:  # (2)
    ...
  1. See GetConnectionsFilterTypeDef
  2. See GetConnectionsResponseTypeDef
# get_connections method usage example with argument unpacking

kwargs: GetConnectionsRequestRequestTypeDef = {  # (1)
    "CatalogId": ...,
}

parent.get_connections(**kwargs)
  1. See GetConnectionsRequestRequestTypeDef

get_crawler#

Retrieves metadata for a specified crawler.

Type annotations and code completion for session.create_client("glue").get_crawler method. boto3 documentation

# get_crawler method definition

await def get_crawler(
    self,
    *,
    Name: str,
) -> GetCrawlerResponseTypeDef:  # (1)
    ...
  1. See GetCrawlerResponseTypeDef
# get_crawler method usage example with argument unpacking

kwargs: GetCrawlerRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.get_crawler(**kwargs)
  1. See GetCrawlerRequestRequestTypeDef

get_crawler_metrics#

Retrieves metrics about specified crawlers.

Type annotations and code completion for session.create_client("glue").get_crawler_metrics method. boto3 documentation

# get_crawler_metrics method definition

await def get_crawler_metrics(
    self,
    *,
    CrawlerNameList: Sequence[str] = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetCrawlerMetricsResponseTypeDef:  # (1)
    ...
  1. See GetCrawlerMetricsResponseTypeDef
# get_crawler_metrics method usage example with argument unpacking

kwargs: GetCrawlerMetricsRequestRequestTypeDef = {  # (1)
    "CrawlerNameList": ...,
}

parent.get_crawler_metrics(**kwargs)
  1. See GetCrawlerMetricsRequestRequestTypeDef

get_crawlers#

Retrieves metadata for all crawlers defined in the customer account.

Type annotations and code completion for session.create_client("glue").get_crawlers method. boto3 documentation

# get_crawlers method definition

await def get_crawlers(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetCrawlersResponseTypeDef:  # (1)
    ...
  1. See GetCrawlersResponseTypeDef
# get_crawlers method usage example with argument unpacking

kwargs: GetCrawlersRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.get_crawlers(**kwargs)
  1. See GetCrawlersRequestRequestTypeDef

get_custom_entity_type#

Retrieves the details of a custom pattern by specifying its name.

Type annotations and code completion for session.create_client("glue").get_custom_entity_type method. boto3 documentation

# get_custom_entity_type method definition

await def get_custom_entity_type(
    self,
    *,
    Name: str,
) -> GetCustomEntityTypeResponseTypeDef:  # (1)
    ...
  1. See GetCustomEntityTypeResponseTypeDef
# get_custom_entity_type method usage example with argument unpacking

kwargs: GetCustomEntityTypeRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.get_custom_entity_type(**kwargs)
  1. See GetCustomEntityTypeRequestRequestTypeDef

get_data_catalog_encryption_settings#

Retrieves the security configuration for a specified catalog.

Type annotations and code completion for session.create_client("glue").get_data_catalog_encryption_settings method. boto3 documentation

# get_data_catalog_encryption_settings method definition

await def get_data_catalog_encryption_settings(
    self,
    *,
    CatalogId: str = ...,
) -> GetDataCatalogEncryptionSettingsResponseTypeDef:  # (1)
    ...
  1. See GetDataCatalogEncryptionSettingsResponseTypeDef
# get_data_catalog_encryption_settings method usage example with argument unpacking

kwargs: GetDataCatalogEncryptionSettingsRequestRequestTypeDef = {  # (1)
    "CatalogId": ...,
}

parent.get_data_catalog_encryption_settings(**kwargs)
  1. See GetDataCatalogEncryptionSettingsRequestRequestTypeDef

get_data_quality_result#

Retrieves the result of a data quality rule evaluation.

Type annotations and code completion for session.create_client("glue").get_data_quality_result method. boto3 documentation

# get_data_quality_result method definition

await def get_data_quality_result(
    self,
    *,
    ResultId: str,
) -> GetDataQualityResultResponseTypeDef:  # (1)
    ...
  1. See GetDataQualityResultResponseTypeDef
# get_data_quality_result method usage example with argument unpacking

kwargs: GetDataQualityResultRequestRequestTypeDef = {  # (1)
    "ResultId": ...,
}

parent.get_data_quality_result(**kwargs)
  1. See GetDataQualityResultRequestRequestTypeDef

get_data_quality_rule_recommendation_run#

Gets the specified recommendation run that was used to generate rules.

Type annotations and code completion for session.create_client("glue").get_data_quality_rule_recommendation_run method. boto3 documentation

# get_data_quality_rule_recommendation_run method definition

await def get_data_quality_rule_recommendation_run(
    self,
    *,
    RunId: str,
) -> GetDataQualityRuleRecommendationRunResponseTypeDef:  # (1)
    ...
  1. See GetDataQualityRuleRecommendationRunResponseTypeDef
# get_data_quality_rule_recommendation_run method usage example with argument unpacking

kwargs: GetDataQualityRuleRecommendationRunRequestRequestTypeDef = {  # (1)
    "RunId": ...,
}

parent.get_data_quality_rule_recommendation_run(**kwargs)
  1. See GetDataQualityRuleRecommendationRunRequestRequestTypeDef

get_data_quality_ruleset#

Returns an existing ruleset by identifier or name.

Type annotations and code completion for session.create_client("glue").get_data_quality_ruleset method. boto3 documentation

# get_data_quality_ruleset method definition

await def get_data_quality_ruleset(
    self,
    *,
    Name: str,
) -> GetDataQualityRulesetResponseTypeDef:  # (1)
    ...
  1. See GetDataQualityRulesetResponseTypeDef
# get_data_quality_ruleset method usage example with argument unpacking

kwargs: GetDataQualityRulesetRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.get_data_quality_ruleset(**kwargs)
  1. See GetDataQualityRulesetRequestRequestTypeDef

get_data_quality_ruleset_evaluation_run#

Retrieves a specific run where a ruleset is evaluated against a data source.

Type annotations and code completion for session.create_client("glue").get_data_quality_ruleset_evaluation_run method. boto3 documentation

# get_data_quality_ruleset_evaluation_run method definition

await def get_data_quality_ruleset_evaluation_run(
    self,
    *,
    RunId: str,
) -> GetDataQualityRulesetEvaluationRunResponseTypeDef:  # (1)
    ...
  1. See GetDataQualityRulesetEvaluationRunResponseTypeDef
# get_data_quality_ruleset_evaluation_run method usage example with argument unpacking

kwargs: GetDataQualityRulesetEvaluationRunRequestRequestTypeDef = {  # (1)
    "RunId": ...,
}

parent.get_data_quality_ruleset_evaluation_run(**kwargs)
  1. See GetDataQualityRulesetEvaluationRunRequestRequestTypeDef

get_database#

Retrieves the definition of a specified database.

Type annotations and code completion for session.create_client("glue").get_database method. boto3 documentation

# get_database method definition

await def get_database(
    self,
    *,
    Name: str,
    CatalogId: str = ...,
) -> GetDatabaseResponseTypeDef:  # (1)
    ...
  1. See GetDatabaseResponseTypeDef
# get_database method usage example with argument unpacking

kwargs: GetDatabaseRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.get_database(**kwargs)
  1. See GetDatabaseRequestRequestTypeDef

get_databases#

Retrieves all databases defined in a given Data Catalog.

Type annotations and code completion for session.create_client("glue").get_databases method. boto3 documentation

# get_databases method definition

await def get_databases(
    self,
    *,
    CatalogId: str = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
    ResourceShareType: ResourceShareTypeType = ...,  # (1)
) -> GetDatabasesResponseTypeDef:  # (2)
    ...
  1. See ResourceShareTypeType
  2. See GetDatabasesResponseTypeDef
# get_databases method usage example with argument unpacking

kwargs: GetDatabasesRequestRequestTypeDef = {  # (1)
    "CatalogId": ...,
}

parent.get_databases(**kwargs)
  1. See GetDatabasesRequestRequestTypeDef

get_dataflow_graph#

Transforms a Python script into a directed acyclic graph (DAG).

Type annotations and code completion for session.create_client("glue").get_dataflow_graph method. boto3 documentation

# get_dataflow_graph method definition

await def get_dataflow_graph(
    self,
    *,
    PythonScript: str = ...,
) -> GetDataflowGraphResponseTypeDef:  # (1)
    ...
  1. See GetDataflowGraphResponseTypeDef
# get_dataflow_graph method usage example with argument unpacking

kwargs: GetDataflowGraphRequestRequestTypeDef = {  # (1)
    "PythonScript": ...,
}

parent.get_dataflow_graph(**kwargs)
  1. See GetDataflowGraphRequestRequestTypeDef

get_dev_endpoint#

Retrieves information about a specified development endpoint.

Type annotations and code completion for session.create_client("glue").get_dev_endpoint method. boto3 documentation

# get_dev_endpoint method definition

await def get_dev_endpoint(
    self,
    *,
    EndpointName: str,
) -> GetDevEndpointResponseTypeDef:  # (1)
    ...
  1. See GetDevEndpointResponseTypeDef
# get_dev_endpoint method usage example with argument unpacking

kwargs: GetDevEndpointRequestRequestTypeDef = {  # (1)
    "EndpointName": ...,
}

parent.get_dev_endpoint(**kwargs)
  1. See GetDevEndpointRequestRequestTypeDef

get_dev_endpoints#

Retrieves all the development endpoints in this Amazon Web Services account.

Type annotations and code completion for session.create_client("glue").get_dev_endpoints method. boto3 documentation

# get_dev_endpoints method definition

await def get_dev_endpoints(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetDevEndpointsResponseTypeDef:  # (1)
    ...
  1. See GetDevEndpointsResponseTypeDef
# get_dev_endpoints method usage example with argument unpacking

kwargs: GetDevEndpointsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.get_dev_endpoints(**kwargs)
  1. See GetDevEndpointsRequestRequestTypeDef

get_job#

Retrieves an existing job definition.

Type annotations and code completion for session.create_client("glue").get_job method. boto3 documentation

# get_job method definition

await def get_job(
    self,
    *,
    JobName: str,
) -> GetJobResponseTypeDef:  # (1)
    ...
  1. See GetJobResponseTypeDef
# get_job method usage example with argument unpacking

kwargs: GetJobRequestRequestTypeDef = {  # (1)
    "JobName": ...,
}

parent.get_job(**kwargs)
  1. See GetJobRequestRequestTypeDef

get_job_bookmark#

Returns information on a job bookmark entry.

Type annotations and code completion for session.create_client("glue").get_job_bookmark method. boto3 documentation

# get_job_bookmark method definition

await def get_job_bookmark(
    self,
    *,
    JobName: str,
    RunId: str = ...,
) -> GetJobBookmarkResponseTypeDef:  # (1)
    ...
  1. See GetJobBookmarkResponseTypeDef
# get_job_bookmark method usage example with argument unpacking

kwargs: GetJobBookmarkRequestRequestTypeDef = {  # (1)
    "JobName": ...,
}

parent.get_job_bookmark(**kwargs)
  1. See GetJobBookmarkRequestRequestTypeDef

get_job_run#

Retrieves the metadata for a given job run.

Type annotations and code completion for session.create_client("glue").get_job_run method. boto3 documentation

# get_job_run method definition

await def get_job_run(
    self,
    *,
    JobName: str,
    RunId: str,
    PredecessorsIncluded: bool = ...,
) -> GetJobRunResponseTypeDef:  # (1)
    ...
  1. See GetJobRunResponseTypeDef
# get_job_run method usage example with argument unpacking

kwargs: GetJobRunRequestRequestTypeDef = {  # (1)
    "JobName": ...,
    "RunId": ...,
}

parent.get_job_run(**kwargs)
  1. See GetJobRunRequestRequestTypeDef

get_job_runs#

Retrieves metadata for all runs of a given job definition.

Type annotations and code completion for session.create_client("glue").get_job_runs method. boto3 documentation

# get_job_runs method definition

await def get_job_runs(
    self,
    *,
    JobName: str,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> GetJobRunsResponseTypeDef:  # (1)
    ...
  1. See GetJobRunsResponseTypeDef
# get_job_runs method usage example with argument unpacking

kwargs: GetJobRunsRequestRequestTypeDef = {  # (1)
    "JobName": ...,
}

parent.get_job_runs(**kwargs)
  1. See GetJobRunsRequestRequestTypeDef

get_jobs#

Retrieves all current job definitions.

Type annotations and code completion for session.create_client("glue").get_jobs method. boto3 documentation

# get_jobs method definition

await def get_jobs(
    self,
    *,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> GetJobsResponseTypeDef:  # (1)
    ...
  1. See GetJobsResponseTypeDef
# get_jobs method usage example with argument unpacking

kwargs: GetJobsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.get_jobs(**kwargs)
  1. See GetJobsRequestRequestTypeDef

get_mapping#

Creates mappings.

Type annotations and code completion for session.create_client("glue").get_mapping method. boto3 documentation

# get_mapping method definition

await def get_mapping(
    self,
    *,
    Source: CatalogEntryTypeDef,  # (1)
    Sinks: Sequence[CatalogEntryTypeDef] = ...,  # (2)
    Location: LocationTypeDef = ...,  # (3)
) -> GetMappingResponseTypeDef:  # (4)
    ...
  1. See CatalogEntryTypeDef
  2. See CatalogEntryTypeDef
  3. See LocationTypeDef
  4. See GetMappingResponseTypeDef
# get_mapping method usage example with argument unpacking

kwargs: GetMappingRequestRequestTypeDef = {  # (1)
    "Source": ...,
}

parent.get_mapping(**kwargs)
  1. See GetMappingRequestRequestTypeDef

get_ml_task_run#

Gets details for a specific task run on a machine learning transform.

Type annotations and code completion for session.create_client("glue").get_ml_task_run method. boto3 documentation

# get_ml_task_run method definition

await def get_ml_task_run(
    self,
    *,
    TransformId: str,
    TaskRunId: str,
) -> GetMLTaskRunResponseTypeDef:  # (1)
    ...
  1. See GetMLTaskRunResponseTypeDef
# get_ml_task_run method usage example with argument unpacking

kwargs: GetMLTaskRunRequestRequestTypeDef = {  # (1)
    "TransformId": ...,
    "TaskRunId": ...,
}

parent.get_ml_task_run(**kwargs)
  1. See GetMLTaskRunRequestRequestTypeDef

get_ml_task_runs#

Gets a list of runs for a machine learning transform.

Type annotations and code completion for session.create_client("glue").get_ml_task_runs method. boto3 documentation

# get_ml_task_runs method definition

await def get_ml_task_runs(
    self,
    *,
    TransformId: str,
    NextToken: str = ...,
    MaxResults: int = ...,
    Filter: TaskRunFilterCriteriaTypeDef = ...,  # (1)
    Sort: TaskRunSortCriteriaTypeDef = ...,  # (2)
) -> GetMLTaskRunsResponseTypeDef:  # (3)
    ...
  1. See TaskRunFilterCriteriaTypeDef
  2. See TaskRunSortCriteriaTypeDef
  3. See GetMLTaskRunsResponseTypeDef
# get_ml_task_runs method usage example with argument unpacking

kwargs: GetMLTaskRunsRequestRequestTypeDef = {  # (1)
    "TransformId": ...,
}

parent.get_ml_task_runs(**kwargs)
  1. See GetMLTaskRunsRequestRequestTypeDef

get_ml_transform#

Gets an Glue machine learning transform artifact and all its corresponding metadata.

Type annotations and code completion for session.create_client("glue").get_ml_transform method. boto3 documentation

# get_ml_transform method definition

await def get_ml_transform(
    self,
    *,
    TransformId: str,
) -> GetMLTransformResponseTypeDef:  # (1)
    ...
  1. See GetMLTransformResponseTypeDef
# get_ml_transform method usage example with argument unpacking

kwargs: GetMLTransformRequestRequestTypeDef = {  # (1)
    "TransformId": ...,
}

parent.get_ml_transform(**kwargs)
  1. See GetMLTransformRequestRequestTypeDef

get_ml_transforms#

Gets a sortable, filterable list of existing Glue machine learning transforms.

Type annotations and code completion for session.create_client("glue").get_ml_transforms method. boto3 documentation

# get_ml_transforms method definition

await def get_ml_transforms(
    self,
    *,
    NextToken: str = ...,
    MaxResults: int = ...,
    Filter: TransformFilterCriteriaTypeDef = ...,  # (1)
    Sort: TransformSortCriteriaTypeDef = ...,  # (2)
) -> GetMLTransformsResponseTypeDef:  # (3)
    ...
  1. See TransformFilterCriteriaTypeDef
  2. See TransformSortCriteriaTypeDef
  3. See GetMLTransformsResponseTypeDef
# get_ml_transforms method usage example with argument unpacking

kwargs: GetMLTransformsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.get_ml_transforms(**kwargs)
  1. See GetMLTransformsRequestRequestTypeDef

get_partition#

Retrieves information about a specified partition.

Type annotations and code completion for session.create_client("glue").get_partition method. boto3 documentation

# get_partition method definition

await def get_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionValues: Sequence[str],
    CatalogId: str = ...,
) -> GetPartitionResponseTypeDef:  # (1)
    ...
  1. See GetPartitionResponseTypeDef
# get_partition method usage example with argument unpacking

kwargs: GetPartitionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "PartitionValues": ...,
}

parent.get_partition(**kwargs)
  1. See GetPartitionRequestRequestTypeDef

get_partition_indexes#

Retrieves the partition indexes associated with a table.

Type annotations and code completion for session.create_client("glue").get_partition_indexes method. boto3 documentation

# get_partition_indexes method definition

await def get_partition_indexes(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    CatalogId: str = ...,
    NextToken: str = ...,
) -> GetPartitionIndexesResponseTypeDef:  # (1)
    ...
  1. See GetPartitionIndexesResponseTypeDef
# get_partition_indexes method usage example with argument unpacking

kwargs: GetPartitionIndexesRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
}

parent.get_partition_indexes(**kwargs)
  1. See GetPartitionIndexesRequestRequestTypeDef

get_partitions#

Retrieves information about the partitions in a table.

Type annotations and code completion for session.create_client("glue").get_partitions method. boto3 documentation

# get_partitions method definition

await def get_partitions(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    CatalogId: str = ...,
    Expression: str = ...,
    NextToken: str = ...,
    Segment: SegmentTypeDef = ...,  # (1)
    MaxResults: int = ...,
    ExcludeColumnSchema: bool = ...,
    TransactionId: str = ...,
    QueryAsOfTime: Union[datetime, str] = ...,
) -> GetPartitionsResponseTypeDef:  # (2)
    ...
  1. See SegmentTypeDef
  2. See GetPartitionsResponseTypeDef
# get_partitions method usage example with argument unpacking

kwargs: GetPartitionsRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
}

parent.get_partitions(**kwargs)
  1. See GetPartitionsRequestRequestTypeDef

get_plan#

Gets code to perform a specified mapping.

Type annotations and code completion for session.create_client("glue").get_plan method. boto3 documentation

# get_plan method definition

await def get_plan(
    self,
    *,
    Mapping: Sequence[MappingEntryTypeDef],  # (1)
    Source: CatalogEntryTypeDef,  # (2)
    Sinks: Sequence[CatalogEntryTypeDef] = ...,  # (3)
    Location: LocationTypeDef = ...,  # (4)
    Language: LanguageType = ...,  # (5)
    AdditionalPlanOptionsMap: Mapping[str, str] = ...,
) -> GetPlanResponseTypeDef:  # (6)
    ...
  1. See MappingEntryTypeDef
  2. See CatalogEntryTypeDef
  3. See CatalogEntryTypeDef
  4. See LocationTypeDef
  5. See LanguageType
  6. See GetPlanResponseTypeDef
# get_plan method usage example with argument unpacking

kwargs: GetPlanRequestRequestTypeDef = {  # (1)
    "Mapping": ...,
    "Source": ...,
}

parent.get_plan(**kwargs)
  1. See GetPlanRequestRequestTypeDef

get_registry#

Describes the specified registry in detail.

Type annotations and code completion for session.create_client("glue").get_registry method. boto3 documentation

# get_registry method definition

await def get_registry(
    self,
    *,
    RegistryId: RegistryIdTypeDef,  # (1)
) -> GetRegistryResponseTypeDef:  # (2)
    ...
  1. See RegistryIdTypeDef
  2. See GetRegistryResponseTypeDef
# get_registry method usage example with argument unpacking

kwargs: GetRegistryInputRequestTypeDef = {  # (1)
    "RegistryId": ...,
}

parent.get_registry(**kwargs)
  1. See GetRegistryInputRequestTypeDef

get_resource_policies#

Retrieves the resource policies set on individual resources by Resource Access Manager during cross-account permission grants.

Type annotations and code completion for session.create_client("glue").get_resource_policies method. boto3 documentation

# get_resource_policies method definition

await def get_resource_policies(
    self,
    *,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> GetResourcePoliciesResponseTypeDef:  # (1)
    ...
  1. See GetResourcePoliciesResponseTypeDef
# get_resource_policies method usage example with argument unpacking

kwargs: GetResourcePoliciesRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.get_resource_policies(**kwargs)
  1. See GetResourcePoliciesRequestRequestTypeDef

get_resource_policy#

Retrieves a specified resource policy.

Type annotations and code completion for session.create_client("glue").get_resource_policy method. boto3 documentation

# get_resource_policy method definition

await def get_resource_policy(
    self,
    *,
    ResourceArn: str = ...,
) -> GetResourcePolicyResponseTypeDef:  # (1)
    ...
  1. See GetResourcePolicyResponseTypeDef
# get_resource_policy method usage example with argument unpacking

kwargs: GetResourcePolicyRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.get_resource_policy(**kwargs)
  1. See GetResourcePolicyRequestRequestTypeDef

get_schema#

Describes the specified schema in detail.

Type annotations and code completion for session.create_client("glue").get_schema method. boto3 documentation

# get_schema method definition

await def get_schema(
    self,
    *,
    SchemaId: SchemaIdTypeDef,  # (1)
) -> GetSchemaResponseTypeDef:  # (2)
    ...
  1. See SchemaIdTypeDef
  2. See GetSchemaResponseTypeDef
# get_schema method usage example with argument unpacking

kwargs: GetSchemaInputRequestTypeDef = {  # (1)
    "SchemaId": ...,
}

parent.get_schema(**kwargs)
  1. See GetSchemaInputRequestTypeDef

get_schema_by_definition#

Retrieves a schema by the SchemaDefinition.

Type annotations and code completion for session.create_client("glue").get_schema_by_definition method. boto3 documentation

# get_schema_by_definition method definition

await def get_schema_by_definition(
    self,
    *,
    SchemaId: SchemaIdTypeDef,  # (1)
    SchemaDefinition: str,
) -> GetSchemaByDefinitionResponseTypeDef:  # (2)
    ...
  1. See SchemaIdTypeDef
  2. See GetSchemaByDefinitionResponseTypeDef
# get_schema_by_definition method usage example with argument unpacking

kwargs: GetSchemaByDefinitionInputRequestTypeDef = {  # (1)
    "SchemaId": ...,
    "SchemaDefinition": ...,
}

parent.get_schema_by_definition(**kwargs)
  1. See GetSchemaByDefinitionInputRequestTypeDef

get_schema_version#

Get the specified schema by its unique ID assigned when a version of the schema is created or registered.

Type annotations and code completion for session.create_client("glue").get_schema_version method. boto3 documentation

# get_schema_version method definition

await def get_schema_version(
    self,
    *,
    SchemaId: SchemaIdTypeDef = ...,  # (1)
    SchemaVersionId: str = ...,
    SchemaVersionNumber: SchemaVersionNumberTypeDef = ...,  # (2)
) -> GetSchemaVersionResponseTypeDef:  # (3)
    ...
  1. See SchemaIdTypeDef
  2. See SchemaVersionNumberTypeDef
  3. See GetSchemaVersionResponseTypeDef
# get_schema_version method usage example with argument unpacking

kwargs: GetSchemaVersionInputRequestTypeDef = {  # (1)
    "SchemaId": ...,
}

parent.get_schema_version(**kwargs)
  1. See GetSchemaVersionInputRequestTypeDef

get_schema_versions_diff#

Fetches the schema version difference in the specified difference type between two stored schema versions in the Schema Registry.

Type annotations and code completion for session.create_client("glue").get_schema_versions_diff method. boto3 documentation

# get_schema_versions_diff method definition

await def get_schema_versions_diff(
    self,
    *,
    SchemaId: SchemaIdTypeDef,  # (1)
    FirstSchemaVersionNumber: SchemaVersionNumberTypeDef,  # (2)
    SecondSchemaVersionNumber: SchemaVersionNumberTypeDef,  # (2)
    SchemaDiffType: SchemaDiffTypeType,  # (4)
) -> GetSchemaVersionsDiffResponseTypeDef:  # (5)
    ...
  1. See SchemaIdTypeDef
  2. See SchemaVersionNumberTypeDef
  3. See SchemaVersionNumberTypeDef
  4. See SchemaDiffTypeType
  5. See GetSchemaVersionsDiffResponseTypeDef
# get_schema_versions_diff method usage example with argument unpacking

kwargs: GetSchemaVersionsDiffInputRequestTypeDef = {  # (1)
    "SchemaId": ...,
    "FirstSchemaVersionNumber": ...,
    "SecondSchemaVersionNumber": ...,
    "SchemaDiffType": ...,
}

parent.get_schema_versions_diff(**kwargs)
  1. See GetSchemaVersionsDiffInputRequestTypeDef

get_security_configuration#

Retrieves a specified security configuration.

Type annotations and code completion for session.create_client("glue").get_security_configuration method. boto3 documentation

# get_security_configuration method definition

await def get_security_configuration(
    self,
    *,
    Name: str,
) -> GetSecurityConfigurationResponseTypeDef:  # (1)
    ...
  1. See GetSecurityConfigurationResponseTypeDef
# get_security_configuration method usage example with argument unpacking

kwargs: GetSecurityConfigurationRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.get_security_configuration(**kwargs)
  1. See GetSecurityConfigurationRequestRequestTypeDef

get_security_configurations#

Retrieves a list of all security configurations.

Type annotations and code completion for session.create_client("glue").get_security_configurations method. boto3 documentation

# get_security_configurations method definition

await def get_security_configurations(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetSecurityConfigurationsResponseTypeDef:  # (1)
    ...
  1. See GetSecurityConfigurationsResponseTypeDef
# get_security_configurations method usage example with argument unpacking

kwargs: GetSecurityConfigurationsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.get_security_configurations(**kwargs)
  1. See GetSecurityConfigurationsRequestRequestTypeDef

get_session#

Retrieves the session.

Type annotations and code completion for session.create_client("glue").get_session method. boto3 documentation

# get_session method definition

await def get_session(
    self,
    *,
    Id: str,
    RequestOrigin: str = ...,
) -> GetSessionResponseTypeDef:  # (1)
    ...
  1. See GetSessionResponseTypeDef
# get_session method usage example with argument unpacking

kwargs: GetSessionRequestRequestTypeDef = {  # (1)
    "Id": ...,
}

parent.get_session(**kwargs)
  1. See GetSessionRequestRequestTypeDef

get_statement#

Retrieves the statement.

Type annotations and code completion for session.create_client("glue").get_statement method. boto3 documentation

# get_statement method definition

await def get_statement(
    self,
    *,
    SessionId: str,
    Id: int,
    RequestOrigin: str = ...,
) -> GetStatementResponseTypeDef:  # (1)
    ...
  1. See GetStatementResponseTypeDef
# get_statement method usage example with argument unpacking

kwargs: GetStatementRequestRequestTypeDef = {  # (1)
    "SessionId": ...,
    "Id": ...,
}

parent.get_statement(**kwargs)
  1. See GetStatementRequestRequestTypeDef

get_table#

Retrieves the Table definition in a Data Catalog for a specified table.

Type annotations and code completion for session.create_client("glue").get_table method. boto3 documentation

# get_table method definition

await def get_table(
    self,
    *,
    DatabaseName: str,
    Name: str,
    CatalogId: str = ...,
    TransactionId: str = ...,
    QueryAsOfTime: Union[datetime, str] = ...,
) -> GetTableResponseTypeDef:  # (1)
    ...
  1. See GetTableResponseTypeDef
# get_table method usage example with argument unpacking

kwargs: GetTableRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "Name": ...,
}

parent.get_table(**kwargs)
  1. See GetTableRequestRequestTypeDef

get_table_version#

Retrieves a specified version of a table.

Type annotations and code completion for session.create_client("glue").get_table_version method. boto3 documentation

# get_table_version method definition

await def get_table_version(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    CatalogId: str = ...,
    VersionId: str = ...,
) -> GetTableVersionResponseTypeDef:  # (1)
    ...
  1. See GetTableVersionResponseTypeDef
# get_table_version method usage example with argument unpacking

kwargs: GetTableVersionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
}

parent.get_table_version(**kwargs)
  1. See GetTableVersionRequestRequestTypeDef

get_table_versions#

Retrieves a list of strings that identify available versions of a specified table.

Type annotations and code completion for session.create_client("glue").get_table_versions method. boto3 documentation

# get_table_versions method definition

await def get_table_versions(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    CatalogId: str = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> GetTableVersionsResponseTypeDef:  # (1)
    ...
  1. See GetTableVersionsResponseTypeDef
# get_table_versions method usage example with argument unpacking

kwargs: GetTableVersionsRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
}

parent.get_table_versions(**kwargs)
  1. See GetTableVersionsRequestRequestTypeDef

get_tables#

Retrieves the definitions of some or all of the tables in a given Database.

Type annotations and code completion for session.create_client("glue").get_tables method. boto3 documentation

# get_tables method definition

await def get_tables(
    self,
    *,
    DatabaseName: str,
    CatalogId: str = ...,
    Expression: str = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
    TransactionId: str = ...,
    QueryAsOfTime: Union[datetime, str] = ...,
) -> GetTablesResponseTypeDef:  # (1)
    ...
  1. See GetTablesResponseTypeDef
# get_tables method usage example with argument unpacking

kwargs: GetTablesRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
}

parent.get_tables(**kwargs)
  1. See GetTablesRequestRequestTypeDef

get_tags#

Retrieves a list of tags associated with a resource.

Type annotations and code completion for session.create_client("glue").get_tags method. boto3 documentation

# get_tags method definition

await def get_tags(
    self,
    *,
    ResourceArn: str,
) -> GetTagsResponseTypeDef:  # (1)
    ...
  1. See GetTagsResponseTypeDef
# get_tags method usage example with argument unpacking

kwargs: GetTagsRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.get_tags(**kwargs)
  1. See GetTagsRequestRequestTypeDef

get_trigger#

Retrieves the definition of a trigger.

Type annotations and code completion for session.create_client("glue").get_trigger method. boto3 documentation

# get_trigger method definition

await def get_trigger(
    self,
    *,
    Name: str,
) -> GetTriggerResponseTypeDef:  # (1)
    ...
  1. See GetTriggerResponseTypeDef
# get_trigger method usage example with argument unpacking

kwargs: GetTriggerRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.get_trigger(**kwargs)
  1. See GetTriggerRequestRequestTypeDef

get_triggers#

Gets all the triggers associated with a job.

Type annotations and code completion for session.create_client("glue").get_triggers method. boto3 documentation

# get_triggers method definition

await def get_triggers(
    self,
    *,
    NextToken: str = ...,
    DependentJobName: str = ...,
    MaxResults: int = ...,
) -> GetTriggersResponseTypeDef:  # (1)
    ...
  1. See GetTriggersResponseTypeDef
# get_triggers method usage example with argument unpacking

kwargs: GetTriggersRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.get_triggers(**kwargs)
  1. See GetTriggersRequestRequestTypeDef

get_unfiltered_partition_metadata#

Retrieves partition metadata from the Data Catalog that contains unfiltered metadata.

Type annotations and code completion for session.create_client("glue").get_unfiltered_partition_metadata method. boto3 documentation

# get_unfiltered_partition_metadata method definition

await def get_unfiltered_partition_metadata(
    self,
    *,
    CatalogId: str,
    DatabaseName: str,
    TableName: str,
    PartitionValues: Sequence[str],
    SupportedPermissionTypes: Sequence[PermissionTypeType],  # (1)
    AuditContext: AuditContextTypeDef = ...,  # (2)
) -> GetUnfilteredPartitionMetadataResponseTypeDef:  # (3)
    ...
  1. See PermissionTypeType
  2. See AuditContextTypeDef
  3. See GetUnfilteredPartitionMetadataResponseTypeDef
# get_unfiltered_partition_metadata method usage example with argument unpacking

kwargs: GetUnfilteredPartitionMetadataRequestRequestTypeDef = {  # (1)
    "CatalogId": ...,
    "DatabaseName": ...,
    "TableName": ...,
    "PartitionValues": ...,
    "SupportedPermissionTypes": ...,
}

parent.get_unfiltered_partition_metadata(**kwargs)
  1. See GetUnfilteredPartitionMetadataRequestRequestTypeDef

get_unfiltered_partitions_metadata#

Retrieves partition metadata from the Data Catalog that contains unfiltered metadata.

Type annotations and code completion for session.create_client("glue").get_unfiltered_partitions_metadata method. boto3 documentation

# get_unfiltered_partitions_metadata method definition

await def get_unfiltered_partitions_metadata(
    self,
    *,
    CatalogId: str,
    DatabaseName: str,
    TableName: str,
    SupportedPermissionTypes: Sequence[PermissionTypeType],  # (1)
    Expression: str = ...,
    AuditContext: AuditContextTypeDef = ...,  # (2)
    NextToken: str = ...,
    Segment: SegmentTypeDef = ...,  # (3)
    MaxResults: int = ...,
) -> GetUnfilteredPartitionsMetadataResponseTypeDef:  # (4)
    ...
  1. See PermissionTypeType
  2. See AuditContextTypeDef
  3. See SegmentTypeDef
  4. See GetUnfilteredPartitionsMetadataResponseTypeDef
# get_unfiltered_partitions_metadata method usage example with argument unpacking

kwargs: GetUnfilteredPartitionsMetadataRequestRequestTypeDef = {  # (1)
    "CatalogId": ...,
    "DatabaseName": ...,
    "TableName": ...,
    "SupportedPermissionTypes": ...,
}

parent.get_unfiltered_partitions_metadata(**kwargs)
  1. See GetUnfilteredPartitionsMetadataRequestRequestTypeDef

get_unfiltered_table_metadata#

Retrieves table metadata from the Data Catalog that contains unfiltered metadata.

Type annotations and code completion for session.create_client("glue").get_unfiltered_table_metadata method. boto3 documentation

# get_unfiltered_table_metadata method definition

await def get_unfiltered_table_metadata(
    self,
    *,
    CatalogId: str,
    DatabaseName: str,
    Name: str,
    SupportedPermissionTypes: Sequence[PermissionTypeType],  # (1)
    AuditContext: AuditContextTypeDef = ...,  # (2)
) -> GetUnfilteredTableMetadataResponseTypeDef:  # (3)
    ...
  1. See PermissionTypeType
  2. See AuditContextTypeDef
  3. See GetUnfilteredTableMetadataResponseTypeDef
# get_unfiltered_table_metadata method usage example with argument unpacking

kwargs: GetUnfilteredTableMetadataRequestRequestTypeDef = {  # (1)
    "CatalogId": ...,
    "DatabaseName": ...,
    "Name": ...,
    "SupportedPermissionTypes": ...,
}

parent.get_unfiltered_table_metadata(**kwargs)
  1. See GetUnfilteredTableMetadataRequestRequestTypeDef

get_user_defined_function#

Retrieves a specified function definition from the Data Catalog.

Type annotations and code completion for session.create_client("glue").get_user_defined_function method. boto3 documentation

# get_user_defined_function method definition

await def get_user_defined_function(
    self,
    *,
    DatabaseName: str,
    FunctionName: str,
    CatalogId: str = ...,
) -> GetUserDefinedFunctionResponseTypeDef:  # (1)
    ...
  1. See GetUserDefinedFunctionResponseTypeDef
# get_user_defined_function method usage example with argument unpacking

kwargs: GetUserDefinedFunctionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "FunctionName": ...,
}

parent.get_user_defined_function(**kwargs)
  1. See GetUserDefinedFunctionRequestRequestTypeDef

get_user_defined_functions#

Retrieves multiple function definitions from the Data Catalog.

Type annotations and code completion for session.create_client("glue").get_user_defined_functions method. boto3 documentation

# get_user_defined_functions method definition

await def get_user_defined_functions(
    self,
    *,
    Pattern: str,
    CatalogId: str = ...,
    DatabaseName: str = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> GetUserDefinedFunctionsResponseTypeDef:  # (1)
    ...
  1. See GetUserDefinedFunctionsResponseTypeDef
# get_user_defined_functions method usage example with argument unpacking

kwargs: GetUserDefinedFunctionsRequestRequestTypeDef = {  # (1)
    "Pattern": ...,
}

parent.get_user_defined_functions(**kwargs)
  1. See GetUserDefinedFunctionsRequestRequestTypeDef

get_workflow#

Retrieves resource metadata for a workflow.

Type annotations and code completion for session.create_client("glue").get_workflow method. boto3 documentation

# get_workflow method definition

await def get_workflow(
    self,
    *,
    Name: str,
    IncludeGraph: bool = ...,
) -> GetWorkflowResponseTypeDef:  # (1)
    ...
  1. See GetWorkflowResponseTypeDef
# get_workflow method usage example with argument unpacking

kwargs: GetWorkflowRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.get_workflow(**kwargs)
  1. See GetWorkflowRequestRequestTypeDef

get_workflow_run#

Retrieves the metadata for a given workflow run.

Type annotations and code completion for session.create_client("glue").get_workflow_run method. boto3 documentation

# get_workflow_run method definition

await def get_workflow_run(
    self,
    *,
    Name: str,
    RunId: str,
    IncludeGraph: bool = ...,
) -> GetWorkflowRunResponseTypeDef:  # (1)
    ...
  1. See GetWorkflowRunResponseTypeDef
# get_workflow_run method usage example with argument unpacking

kwargs: GetWorkflowRunRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "RunId": ...,
}

parent.get_workflow_run(**kwargs)
  1. See GetWorkflowRunRequestRequestTypeDef

get_workflow_run_properties#

Retrieves the workflow run properties which were set during the run.

Type annotations and code completion for session.create_client("glue").get_workflow_run_properties method. boto3 documentation

# get_workflow_run_properties method definition

await def get_workflow_run_properties(
    self,
    *,
    Name: str,
    RunId: str,
) -> GetWorkflowRunPropertiesResponseTypeDef:  # (1)
    ...
  1. See GetWorkflowRunPropertiesResponseTypeDef
# get_workflow_run_properties method usage example with argument unpacking

kwargs: GetWorkflowRunPropertiesRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "RunId": ...,
}

parent.get_workflow_run_properties(**kwargs)
  1. See GetWorkflowRunPropertiesRequestRequestTypeDef

get_workflow_runs#

Retrieves metadata for all runs of a given workflow.

Type annotations and code completion for session.create_client("glue").get_workflow_runs method. boto3 documentation

# get_workflow_runs method definition

await def get_workflow_runs(
    self,
    *,
    Name: str,
    IncludeGraph: bool = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> GetWorkflowRunsResponseTypeDef:  # (1)
    ...
  1. See GetWorkflowRunsResponseTypeDef
# get_workflow_runs method usage example with argument unpacking

kwargs: GetWorkflowRunsRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.get_workflow_runs(**kwargs)
  1. See GetWorkflowRunsRequestRequestTypeDef

import_catalog_to_glue#

Imports an existing Amazon Athena Data Catalog to Glue.

Type annotations and code completion for session.create_client("glue").import_catalog_to_glue method. boto3 documentation

# import_catalog_to_glue method definition

await def import_catalog_to_glue(
    self,
    *,
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
# import_catalog_to_glue method usage example with argument unpacking

kwargs: ImportCatalogToGlueRequestRequestTypeDef = {  # (1)
    "CatalogId": ...,
}

parent.import_catalog_to_glue(**kwargs)
  1. See ImportCatalogToGlueRequestRequestTypeDef

list_blueprints#

Lists all the blueprint names in an account.

Type annotations and code completion for session.create_client("glue").list_blueprints method. boto3 documentation

# list_blueprints method definition

await def list_blueprints(
    self,
    *,
    NextToken: str = ...,
    MaxResults: int = ...,
    Tags: Mapping[str, str] = ...,
) -> ListBlueprintsResponseTypeDef:  # (1)
    ...
  1. See ListBlueprintsResponseTypeDef
# list_blueprints method usage example with argument unpacking

kwargs: ListBlueprintsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_blueprints(**kwargs)
  1. See ListBlueprintsRequestRequestTypeDef

list_crawlers#

Retrieves the names of all crawler resources in this Amazon Web Services account, or the resources with the specified tag.

Type annotations and code completion for session.create_client("glue").list_crawlers method. boto3 documentation

# list_crawlers method definition

await def list_crawlers(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
    Tags: Mapping[str, str] = ...,
) -> ListCrawlersResponseTypeDef:  # (1)
    ...
  1. See ListCrawlersResponseTypeDef
# list_crawlers method usage example with argument unpacking

kwargs: ListCrawlersRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_crawlers(**kwargs)
  1. See ListCrawlersRequestRequestTypeDef

list_crawls#

Returns all the crawls of a specified crawler.

Type annotations and code completion for session.create_client("glue").list_crawls method. boto3 documentation

# list_crawls method definition

await def list_crawls(
    self,
    *,
    CrawlerName: str,
    MaxResults: int = ...,
    Filters: Sequence[CrawlsFilterTypeDef] = ...,  # (1)
    NextToken: str = ...,
) -> ListCrawlsResponseTypeDef:  # (2)
    ...
  1. See CrawlsFilterTypeDef
  2. See ListCrawlsResponseTypeDef
# list_crawls method usage example with argument unpacking

kwargs: ListCrawlsRequestRequestTypeDef = {  # (1)
    "CrawlerName": ...,
}

parent.list_crawls(**kwargs)
  1. See ListCrawlsRequestRequestTypeDef

list_custom_entity_types#

Lists all the custom patterns that have been created.

Type annotations and code completion for session.create_client("glue").list_custom_entity_types method. boto3 documentation

# list_custom_entity_types method definition

await def list_custom_entity_types(
    self,
    *,
    NextToken: str = ...,
    MaxResults: int = ...,
    Tags: Mapping[str, str] = ...,
) -> ListCustomEntityTypesResponseTypeDef:  # (1)
    ...
  1. See ListCustomEntityTypesResponseTypeDef
# list_custom_entity_types method usage example with argument unpacking

kwargs: ListCustomEntityTypesRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_custom_entity_types(**kwargs)
  1. See ListCustomEntityTypesRequestRequestTypeDef

list_data_quality_results#

Returns all data quality execution results for your account.

Type annotations and code completion for session.create_client("glue").list_data_quality_results method. boto3 documentation

# list_data_quality_results method definition

await def list_data_quality_results(
    self,
    *,
    Filter: DataQualityResultFilterCriteriaTypeDef = ...,  # (1)
    NextToken: str = ...,
    MaxResults: int = ...,
) -> ListDataQualityResultsResponseTypeDef:  # (2)
    ...
  1. See DataQualityResultFilterCriteriaTypeDef
  2. See ListDataQualityResultsResponseTypeDef
# list_data_quality_results method usage example with argument unpacking

kwargs: ListDataQualityResultsRequestRequestTypeDef = {  # (1)
    "Filter": ...,
}

parent.list_data_quality_results(**kwargs)
  1. See ListDataQualityResultsRequestRequestTypeDef

list_data_quality_rule_recommendation_runs#

Lists the recommendation runs meeting the filter criteria.

Type annotations and code completion for session.create_client("glue").list_data_quality_rule_recommendation_runs method. boto3 documentation

# list_data_quality_rule_recommendation_runs method definition

await def list_data_quality_rule_recommendation_runs(
    self,
    *,
    Filter: DataQualityRuleRecommendationRunFilterTypeDef = ...,  # (1)
    NextToken: str = ...,
    MaxResults: int = ...,
) -> ListDataQualityRuleRecommendationRunsResponseTypeDef:  # (2)
    ...
  1. See DataQualityRuleRecommendationRunFilterTypeDef
  2. See ListDataQualityRuleRecommendationRunsResponseTypeDef
# list_data_quality_rule_recommendation_runs method usage example with argument unpacking

kwargs: ListDataQualityRuleRecommendationRunsRequestRequestTypeDef = {  # (1)
    "Filter": ...,
}

parent.list_data_quality_rule_recommendation_runs(**kwargs)
  1. See ListDataQualityRuleRecommendationRunsRequestRequestTypeDef

list_data_quality_ruleset_evaluation_runs#

Lists all the runs meeting the filter criteria, where a ruleset is evaluated against a data source.

Type annotations and code completion for session.create_client("glue").list_data_quality_ruleset_evaluation_runs method. boto3 documentation

# list_data_quality_ruleset_evaluation_runs method definition

await def list_data_quality_ruleset_evaluation_runs(
    self,
    *,
    Filter: DataQualityRulesetEvaluationRunFilterTypeDef = ...,  # (1)
    NextToken: str = ...,
    MaxResults: int = ...,
) -> ListDataQualityRulesetEvaluationRunsResponseTypeDef:  # (2)
    ...
  1. See DataQualityRulesetEvaluationRunFilterTypeDef
  2. See ListDataQualityRulesetEvaluationRunsResponseTypeDef
# list_data_quality_ruleset_evaluation_runs method usage example with argument unpacking

kwargs: ListDataQualityRulesetEvaluationRunsRequestRequestTypeDef = {  # (1)
    "Filter": ...,
}

parent.list_data_quality_ruleset_evaluation_runs(**kwargs)
  1. See ListDataQualityRulesetEvaluationRunsRequestRequestTypeDef

list_data_quality_rulesets#

Returns a paginated list of rulesets for the specified list of Glue tables.

Type annotations and code completion for session.create_client("glue").list_data_quality_rulesets method. boto3 documentation

# list_data_quality_rulesets method definition

await def list_data_quality_rulesets(
    self,
    *,
    NextToken: str = ...,
    MaxResults: int = ...,
    Filter: DataQualityRulesetFilterCriteriaTypeDef = ...,  # (1)
    Tags: Mapping[str, str] = ...,
) -> ListDataQualityRulesetsResponseTypeDef:  # (2)
    ...
  1. See DataQualityRulesetFilterCriteriaTypeDef
  2. See ListDataQualityRulesetsResponseTypeDef
# list_data_quality_rulesets method usage example with argument unpacking

kwargs: ListDataQualityRulesetsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_data_quality_rulesets(**kwargs)
  1. See ListDataQualityRulesetsRequestRequestTypeDef

list_dev_endpoints#

Retrieves the names of all DevEndpoint resources in this Amazon Web Services account, or the resources with the specified tag.

Type annotations and code completion for session.create_client("glue").list_dev_endpoints method. boto3 documentation

# list_dev_endpoints method definition

await def list_dev_endpoints(
    self,
    *,
    NextToken: str = ...,
    MaxResults: int = ...,
    Tags: Mapping[str, str] = ...,
) -> ListDevEndpointsResponseTypeDef:  # (1)
    ...
  1. See ListDevEndpointsResponseTypeDef
# list_dev_endpoints method usage example with argument unpacking

kwargs: ListDevEndpointsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_dev_endpoints(**kwargs)
  1. See ListDevEndpointsRequestRequestTypeDef

list_jobs#

Retrieves the names of all job resources in this Amazon Web Services account, or the resources with the specified tag.

Type annotations and code completion for session.create_client("glue").list_jobs method. boto3 documentation

# list_jobs method definition

await def list_jobs(
    self,
    *,
    NextToken: str = ...,
    MaxResults: int = ...,
    Tags: Mapping[str, str] = ...,
) -> ListJobsResponseTypeDef:  # (1)
    ...
  1. See ListJobsResponseTypeDef
# list_jobs method usage example with argument unpacking

kwargs: ListJobsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_jobs(**kwargs)
  1. See ListJobsRequestRequestTypeDef

list_ml_transforms#

Retrieves a sortable, filterable list of existing Glue machine learning transforms in this Amazon Web Services account, or the resources with the specified tag.

Type annotations and code completion for session.create_client("glue").list_ml_transforms method. boto3 documentation

# list_ml_transforms method definition

await def list_ml_transforms(
    self,
    *,
    NextToken: str = ...,
    MaxResults: int = ...,
    Filter: TransformFilterCriteriaTypeDef = ...,  # (1)
    Sort: TransformSortCriteriaTypeDef = ...,  # (2)
    Tags: Mapping[str, str] = ...,
) -> ListMLTransformsResponseTypeDef:  # (3)
    ...
  1. See TransformFilterCriteriaTypeDef
  2. See TransformSortCriteriaTypeDef
  3. See ListMLTransformsResponseTypeDef
# list_ml_transforms method usage example with argument unpacking

kwargs: ListMLTransformsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_ml_transforms(**kwargs)
  1. See ListMLTransformsRequestRequestTypeDef

list_registries#

Returns a list of registries that you have created, with minimal registry information.

Type annotations and code completion for session.create_client("glue").list_registries method. boto3 documentation

# list_registries method definition

await def list_registries(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListRegistriesResponseTypeDef:  # (1)
    ...
  1. See ListRegistriesResponseTypeDef
# list_registries method usage example with argument unpacking

kwargs: ListRegistriesInputRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_registries(**kwargs)
  1. See ListRegistriesInputRequestTypeDef

list_schema_versions#

Returns a list of schema versions that you have created, with minimal information.

Type annotations and code completion for session.create_client("glue").list_schema_versions method. boto3 documentation

# list_schema_versions method definition

await def list_schema_versions(
    self,
    *,
    SchemaId: SchemaIdTypeDef,  # (1)
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListSchemaVersionsResponseTypeDef:  # (2)
    ...
  1. See SchemaIdTypeDef
  2. See ListSchemaVersionsResponseTypeDef
# list_schema_versions method usage example with argument unpacking

kwargs: ListSchemaVersionsInputRequestTypeDef = {  # (1)
    "SchemaId": ...,
}

parent.list_schema_versions(**kwargs)
  1. See ListSchemaVersionsInputRequestTypeDef

list_schemas#

Returns a list of schemas with minimal details.

Type annotations and code completion for session.create_client("glue").list_schemas method. boto3 documentation

# list_schemas method definition

await def list_schemas(
    self,
    *,
    RegistryId: RegistryIdTypeDef = ...,  # (1)
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListSchemasResponseTypeDef:  # (2)
    ...
  1. See RegistryIdTypeDef
  2. See ListSchemasResponseTypeDef
# list_schemas method usage example with argument unpacking

kwargs: ListSchemasInputRequestTypeDef = {  # (1)
    "RegistryId": ...,
}

parent.list_schemas(**kwargs)
  1. See ListSchemasInputRequestTypeDef

list_sessions#

Retrieve a list of sessions.

Type annotations and code completion for session.create_client("glue").list_sessions method. boto3 documentation

# list_sessions method definition

await def list_sessions(
    self,
    *,
    NextToken: str = ...,
    MaxResults: int = ...,
    Tags: Mapping[str, str] = ...,
    RequestOrigin: str = ...,
) -> ListSessionsResponseTypeDef:  # (1)
    ...
  1. See ListSessionsResponseTypeDef
# list_sessions method usage example with argument unpacking

kwargs: ListSessionsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_sessions(**kwargs)
  1. See ListSessionsRequestRequestTypeDef

list_statements#

Lists statements for the session.

Type annotations and code completion for session.create_client("glue").list_statements method. boto3 documentation

# list_statements method definition

await def list_statements(
    self,
    *,
    SessionId: str,
    RequestOrigin: str = ...,
    NextToken: str = ...,
) -> ListStatementsResponseTypeDef:  # (1)
    ...
  1. See ListStatementsResponseTypeDef
# list_statements method usage example with argument unpacking

kwargs: ListStatementsRequestRequestTypeDef = {  # (1)
    "SessionId": ...,
}

parent.list_statements(**kwargs)
  1. See ListStatementsRequestRequestTypeDef

list_triggers#

Retrieves the names of all trigger resources in this Amazon Web Services account, or the resources with the specified tag.

Type annotations and code completion for session.create_client("glue").list_triggers method. boto3 documentation

# list_triggers method definition

await def list_triggers(
    self,
    *,
    NextToken: str = ...,
    DependentJobName: str = ...,
    MaxResults: int = ...,
    Tags: Mapping[str, str] = ...,
) -> ListTriggersResponseTypeDef:  # (1)
    ...
  1. See ListTriggersResponseTypeDef
# list_triggers method usage example with argument unpacking

kwargs: ListTriggersRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_triggers(**kwargs)
  1. See ListTriggersRequestRequestTypeDef

list_workflows#

Lists names of workflows created in the account.

Type annotations and code completion for session.create_client("glue").list_workflows method. boto3 documentation

# list_workflows method definition

await def list_workflows(
    self,
    *,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> ListWorkflowsResponseTypeDef:  # (1)
    ...
  1. See ListWorkflowsResponseTypeDef
# list_workflows method usage example with argument unpacking

kwargs: ListWorkflowsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_workflows(**kwargs)
  1. See ListWorkflowsRequestRequestTypeDef

put_data_catalog_encryption_settings#

Sets the security configuration for a specified catalog.

Type annotations and code completion for session.create_client("glue").put_data_catalog_encryption_settings method. boto3 documentation

# put_data_catalog_encryption_settings method definition

await def put_data_catalog_encryption_settings(
    self,
    *,
    DataCatalogEncryptionSettings: DataCatalogEncryptionSettingsTypeDef,  # (1)
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
  1. See DataCatalogEncryptionSettingsTypeDef
# put_data_catalog_encryption_settings method usage example with argument unpacking

kwargs: PutDataCatalogEncryptionSettingsRequestRequestTypeDef = {  # (1)
    "DataCatalogEncryptionSettings": ...,
}

parent.put_data_catalog_encryption_settings(**kwargs)
  1. See PutDataCatalogEncryptionSettingsRequestRequestTypeDef

put_resource_policy#

Sets the Data Catalog resource policy for access control.

Type annotations and code completion for session.create_client("glue").put_resource_policy method. boto3 documentation

# put_resource_policy method definition

await def put_resource_policy(
    self,
    *,
    PolicyInJson: str,
    ResourceArn: str = ...,
    PolicyHashCondition: str = ...,
    PolicyExistsCondition: ExistConditionType = ...,  # (1)
    EnableHybrid: EnableHybridValuesType = ...,  # (2)
) -> PutResourcePolicyResponseTypeDef:  # (3)
    ...
  1. See ExistConditionType
  2. See EnableHybridValuesType
  3. See PutResourcePolicyResponseTypeDef
# put_resource_policy method usage example with argument unpacking

kwargs: PutResourcePolicyRequestRequestTypeDef = {  # (1)
    "PolicyInJson": ...,
}

parent.put_resource_policy(**kwargs)
  1. See PutResourcePolicyRequestRequestTypeDef

put_schema_version_metadata#

Puts the metadata key value pair for a specified schema version ID.

Type annotations and code completion for session.create_client("glue").put_schema_version_metadata method. boto3 documentation

# put_schema_version_metadata method definition

await def put_schema_version_metadata(
    self,
    *,
    MetadataKeyValue: MetadataKeyValuePairTypeDef,  # (1)
    SchemaId: SchemaIdTypeDef = ...,  # (2)
    SchemaVersionNumber: SchemaVersionNumberTypeDef = ...,  # (3)
    SchemaVersionId: str = ...,
) -> PutSchemaVersionMetadataResponseTypeDef:  # (4)
    ...
  1. See MetadataKeyValuePairTypeDef
  2. See SchemaIdTypeDef
  3. See SchemaVersionNumberTypeDef
  4. See PutSchemaVersionMetadataResponseTypeDef
# put_schema_version_metadata method usage example with argument unpacking

kwargs: PutSchemaVersionMetadataInputRequestTypeDef = {  # (1)
    "MetadataKeyValue": ...,
}

parent.put_schema_version_metadata(**kwargs)
  1. See PutSchemaVersionMetadataInputRequestTypeDef

put_workflow_run_properties#

Puts the specified workflow run properties for the given workflow run.

Type annotations and code completion for session.create_client("glue").put_workflow_run_properties method. boto3 documentation

# put_workflow_run_properties method definition

await def put_workflow_run_properties(
    self,
    *,
    Name: str,
    RunId: str,
    RunProperties: Mapping[str, str],
) -> Dict[str, Any]:
    ...
# put_workflow_run_properties method usage example with argument unpacking

kwargs: PutWorkflowRunPropertiesRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "RunId": ...,
    "RunProperties": ...,
}

parent.put_workflow_run_properties(**kwargs)
  1. See PutWorkflowRunPropertiesRequestRequestTypeDef

query_schema_version_metadata#

Queries for the schema version metadata information.

Type annotations and code completion for session.create_client("glue").query_schema_version_metadata method. boto3 documentation

# query_schema_version_metadata method definition

await def query_schema_version_metadata(
    self,
    *,
    SchemaId: SchemaIdTypeDef = ...,  # (1)
    SchemaVersionNumber: SchemaVersionNumberTypeDef = ...,  # (2)
    SchemaVersionId: str = ...,
    MetadataList: Sequence[MetadataKeyValuePairTypeDef] = ...,  # (3)
    MaxResults: int = ...,
    NextToken: str = ...,
) -> QuerySchemaVersionMetadataResponseTypeDef:  # (4)
    ...
  1. See SchemaIdTypeDef
  2. See SchemaVersionNumberTypeDef
  3. See MetadataKeyValuePairTypeDef
  4. See QuerySchemaVersionMetadataResponseTypeDef
# query_schema_version_metadata method usage example with argument unpacking

kwargs: QuerySchemaVersionMetadataInputRequestTypeDef = {  # (1)
    "SchemaId": ...,
}

parent.query_schema_version_metadata(**kwargs)
  1. See QuerySchemaVersionMetadataInputRequestTypeDef

register_schema_version#

Adds a new version to the existing schema.

Type annotations and code completion for session.create_client("glue").register_schema_version method. boto3 documentation

# register_schema_version method definition

await def register_schema_version(
    self,
    *,
    SchemaId: SchemaIdTypeDef,  # (1)
    SchemaDefinition: str,
) -> RegisterSchemaVersionResponseTypeDef:  # (2)
    ...
  1. See SchemaIdTypeDef
  2. See RegisterSchemaVersionResponseTypeDef
# register_schema_version method usage example with argument unpacking

kwargs: RegisterSchemaVersionInputRequestTypeDef = {  # (1)
    "SchemaId": ...,
    "SchemaDefinition": ...,
}

parent.register_schema_version(**kwargs)
  1. See RegisterSchemaVersionInputRequestTypeDef

remove_schema_version_metadata#

Removes a key value pair from the schema version metadata for the specified schema version ID.

Type annotations and code completion for session.create_client("glue").remove_schema_version_metadata method. boto3 documentation

# remove_schema_version_metadata method definition

await def remove_schema_version_metadata(
    self,
    *,
    MetadataKeyValue: MetadataKeyValuePairTypeDef,  # (1)
    SchemaId: SchemaIdTypeDef = ...,  # (2)
    SchemaVersionNumber: SchemaVersionNumberTypeDef = ...,  # (3)
    SchemaVersionId: str = ...,
) -> RemoveSchemaVersionMetadataResponseTypeDef:  # (4)
    ...
  1. See MetadataKeyValuePairTypeDef
  2. See SchemaIdTypeDef
  3. See SchemaVersionNumberTypeDef
  4. See RemoveSchemaVersionMetadataResponseTypeDef
# remove_schema_version_metadata method usage example with argument unpacking

kwargs: RemoveSchemaVersionMetadataInputRequestTypeDef = {  # (1)
    "MetadataKeyValue": ...,
}

parent.remove_schema_version_metadata(**kwargs)
  1. See RemoveSchemaVersionMetadataInputRequestTypeDef

reset_job_bookmark#

Resets a bookmark entry.

Type annotations and code completion for session.create_client("glue").reset_job_bookmark method. boto3 documentation

# reset_job_bookmark method definition

await def reset_job_bookmark(
    self,
    *,
    JobName: str,
    RunId: str = ...,
) -> ResetJobBookmarkResponseTypeDef:  # (1)
    ...
  1. See ResetJobBookmarkResponseTypeDef
# reset_job_bookmark method usage example with argument unpacking

kwargs: ResetJobBookmarkRequestRequestTypeDef = {  # (1)
    "JobName": ...,
}

parent.reset_job_bookmark(**kwargs)
  1. See ResetJobBookmarkRequestRequestTypeDef

resume_workflow_run#

Restarts selected nodes of a previous partially completed workflow run and resumes the workflow run.

Type annotations and code completion for session.create_client("glue").resume_workflow_run method. boto3 documentation

# resume_workflow_run method definition

await def resume_workflow_run(
    self,
    *,
    Name: str,
    RunId: str,
    NodeIds: Sequence[str],
) -> ResumeWorkflowRunResponseTypeDef:  # (1)
    ...
  1. See ResumeWorkflowRunResponseTypeDef
# resume_workflow_run method usage example with argument unpacking

kwargs: ResumeWorkflowRunRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "RunId": ...,
    "NodeIds": ...,
}

parent.resume_workflow_run(**kwargs)
  1. See ResumeWorkflowRunRequestRequestTypeDef

run_statement#

Executes the statement.

Type annotations and code completion for session.create_client("glue").run_statement method. boto3 documentation

# run_statement method definition

await def run_statement(
    self,
    *,
    SessionId: str,
    Code: str,
    RequestOrigin: str = ...,
) -> RunStatementResponseTypeDef:  # (1)
    ...
  1. See RunStatementResponseTypeDef
# run_statement method usage example with argument unpacking

kwargs: RunStatementRequestRequestTypeDef = {  # (1)
    "SessionId": ...,
    "Code": ...,
}

parent.run_statement(**kwargs)
  1. See RunStatementRequestRequestTypeDef

search_tables#

Searches a set of tables based on properties in the table metadata as well as on the parent database.

Type annotations and code completion for session.create_client("glue").search_tables method. boto3 documentation

# search_tables method definition

await def search_tables(
    self,
    *,
    CatalogId: str = ...,
    NextToken: str = ...,
    Filters: Sequence[PropertyPredicateTypeDef] = ...,  # (1)
    SearchText: str = ...,
    SortCriteria: Sequence[SortCriterionTypeDef] = ...,  # (2)
    MaxResults: int = ...,
    ResourceShareType: ResourceShareTypeType = ...,  # (3)
) -> SearchTablesResponseTypeDef:  # (4)
    ...
  1. See PropertyPredicateTypeDef
  2. See SortCriterionTypeDef
  3. See ResourceShareTypeType
  4. See SearchTablesResponseTypeDef
# search_tables method usage example with argument unpacking

kwargs: SearchTablesRequestRequestTypeDef = {  # (1)
    "CatalogId": ...,
}

parent.search_tables(**kwargs)
  1. See SearchTablesRequestRequestTypeDef

start_blueprint_run#

Starts a new run of the specified blueprint.

Type annotations and code completion for session.create_client("glue").start_blueprint_run method. boto3 documentation

# start_blueprint_run method definition

await def start_blueprint_run(
    self,
    *,
    BlueprintName: str,
    RoleArn: str,
    Parameters: str = ...,
) -> StartBlueprintRunResponseTypeDef:  # (1)
    ...
  1. See StartBlueprintRunResponseTypeDef
# start_blueprint_run method usage example with argument unpacking

kwargs: StartBlueprintRunRequestRequestTypeDef = {  # (1)
    "BlueprintName": ...,
    "RoleArn": ...,
}

parent.start_blueprint_run(**kwargs)
  1. See StartBlueprintRunRequestRequestTypeDef

start_crawler#

Starts a crawl using the specified crawler, regardless of what is scheduled.

Type annotations and code completion for session.create_client("glue").start_crawler method. boto3 documentation

# start_crawler method definition

await def start_crawler(
    self,
    *,
    Name: str,
) -> Dict[str, Any]:
    ...
# start_crawler method usage example with argument unpacking

kwargs: StartCrawlerRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.start_crawler(**kwargs)
  1. See StartCrawlerRequestRequestTypeDef

start_crawler_schedule#

Changes the schedule state of the specified crawler to SCHEDULED, unless the crawler is already running or the schedule state is already SCHEDULED.

Type annotations and code completion for session.create_client("glue").start_crawler_schedule method. boto3 documentation

# start_crawler_schedule method definition

await def start_crawler_schedule(
    self,
    *,
    CrawlerName: str,
) -> Dict[str, Any]:
    ...
# start_crawler_schedule method usage example with argument unpacking

kwargs: StartCrawlerScheduleRequestRequestTypeDef = {  # (1)
    "CrawlerName": ...,
}

parent.start_crawler_schedule(**kwargs)
  1. See StartCrawlerScheduleRequestRequestTypeDef

start_data_quality_rule_recommendation_run#

Starts a recommendation run that is used to generate rules when you don't know what rules to write.

Type annotations and code completion for session.create_client("glue").start_data_quality_rule_recommendation_run method. boto3 documentation

# start_data_quality_rule_recommendation_run method definition

await def start_data_quality_rule_recommendation_run(
    self,
    *,
    DataSource: DataSourceTypeDef,  # (1)
    Role: str,
    NumberOfWorkers: int = ...,
    Timeout: int = ...,
    CreatedRulesetName: str = ...,
    ClientToken: str = ...,
) -> StartDataQualityRuleRecommendationRunResponseTypeDef:  # (2)
    ...
  1. See DataSourceTypeDef
  2. See StartDataQualityRuleRecommendationRunResponseTypeDef
# start_data_quality_rule_recommendation_run method usage example with argument unpacking

kwargs: StartDataQualityRuleRecommendationRunRequestRequestTypeDef = {  # (1)
    "DataSource": ...,
    "Role": ...,
}

parent.start_data_quality_rule_recommendation_run(**kwargs)
  1. See StartDataQualityRuleRecommendationRunRequestRequestTypeDef

start_data_quality_ruleset_evaluation_run#

Once you have a ruleset definition (either recommended or your own), you call this operation to evaluate the ruleset against a data source (Glue table).

Type annotations and code completion for session.create_client("glue").start_data_quality_ruleset_evaluation_run method. boto3 documentation

# start_data_quality_ruleset_evaluation_run method definition

await def start_data_quality_ruleset_evaluation_run(
    self,
    *,
    DataSource: DataSourceTypeDef,  # (1)
    Role: str,
    RulesetNames: Sequence[str],
    NumberOfWorkers: int = ...,
    Timeout: int = ...,
    ClientToken: str = ...,
    AdditionalRunOptions: DataQualityEvaluationRunAdditionalRunOptionsTypeDef = ...,  # (2)
    AdditionalDataSources: Mapping[str, DataSourceTypeDef] = ...,  # (3)
) -> StartDataQualityRulesetEvaluationRunResponseTypeDef:  # (4)
    ...
  1. See DataSourceTypeDef
  2. See DataQualityEvaluationRunAdditionalRunOptionsTypeDef
  3. See DataSourceTypeDef
  4. See StartDataQualityRulesetEvaluationRunResponseTypeDef
# start_data_quality_ruleset_evaluation_run method usage example with argument unpacking

kwargs: StartDataQualityRulesetEvaluationRunRequestRequestTypeDef = {  # (1)
    "DataSource": ...,
    "Role": ...,
    "RulesetNames": ...,
}

parent.start_data_quality_ruleset_evaluation_run(**kwargs)
  1. See StartDataQualityRulesetEvaluationRunRequestRequestTypeDef

start_export_labels_task_run#

Begins an asynchronous task to export all labeled data for a particular transform.

Type annotations and code completion for session.create_client("glue").start_export_labels_task_run method. boto3 documentation

# start_export_labels_task_run method definition

await def start_export_labels_task_run(
    self,
    *,
    TransformId: str,
    OutputS3Path: str,
) -> StartExportLabelsTaskRunResponseTypeDef:  # (1)
    ...
  1. See StartExportLabelsTaskRunResponseTypeDef
# start_export_labels_task_run method usage example with argument unpacking

kwargs: StartExportLabelsTaskRunRequestRequestTypeDef = {  # (1)
    "TransformId": ...,
    "OutputS3Path": ...,
}

parent.start_export_labels_task_run(**kwargs)
  1. See StartExportLabelsTaskRunRequestRequestTypeDef

start_import_labels_task_run#

Enables you to provide additional labels (examples of truth) to be used to teach the machine learning transform and improve its quality.

Type annotations and code completion for session.create_client("glue").start_import_labels_task_run method. boto3 documentation

# start_import_labels_task_run method definition

await def start_import_labels_task_run(
    self,
    *,
    TransformId: str,
    InputS3Path: str,
    ReplaceAllLabels: bool = ...,
) -> StartImportLabelsTaskRunResponseTypeDef:  # (1)
    ...
  1. See StartImportLabelsTaskRunResponseTypeDef
# start_import_labels_task_run method usage example with argument unpacking

kwargs: StartImportLabelsTaskRunRequestRequestTypeDef = {  # (1)
    "TransformId": ...,
    "InputS3Path": ...,
}

parent.start_import_labels_task_run(**kwargs)
  1. See StartImportLabelsTaskRunRequestRequestTypeDef

start_job_run#

Starts a job run using a job definition.

Type annotations and code completion for session.create_client("glue").start_job_run method. boto3 documentation

# start_job_run method definition

await def start_job_run(
    self,
    *,
    JobName: str,
    JobRunId: str = ...,
    Arguments: Mapping[str, str] = ...,
    AllocatedCapacity: int = ...,
    Timeout: int = ...,
    MaxCapacity: float = ...,
    SecurityConfiguration: str = ...,
    NotificationProperty: NotificationPropertyTypeDef = ...,  # (1)
    WorkerType: WorkerTypeType = ...,  # (2)
    NumberOfWorkers: int = ...,
    ExecutionClass: ExecutionClassType = ...,  # (3)
) -> StartJobRunResponseTypeDef:  # (4)
    ...
  1. See NotificationPropertyTypeDef
  2. See WorkerTypeType
  3. See ExecutionClassType
  4. See StartJobRunResponseTypeDef
# start_job_run method usage example with argument unpacking

kwargs: StartJobRunRequestRequestTypeDef = {  # (1)
    "JobName": ...,
}

parent.start_job_run(**kwargs)
  1. See StartJobRunRequestRequestTypeDef

start_ml_evaluation_task_run#

Starts a task to estimate the quality of the transform.

Type annotations and code completion for session.create_client("glue").start_ml_evaluation_task_run method. boto3 documentation

# start_ml_evaluation_task_run method definition

await def start_ml_evaluation_task_run(
    self,
    *,
    TransformId: str,
) -> StartMLEvaluationTaskRunResponseTypeDef:  # (1)
    ...
  1. See StartMLEvaluationTaskRunResponseTypeDef
# start_ml_evaluation_task_run method usage example with argument unpacking

kwargs: StartMLEvaluationTaskRunRequestRequestTypeDef = {  # (1)
    "TransformId": ...,
}

parent.start_ml_evaluation_task_run(**kwargs)
  1. See StartMLEvaluationTaskRunRequestRequestTypeDef

start_ml_labeling_set_generation_task_run#

Starts the active learning workflow for your machine learning transform to improve the transform's quality by generating label sets and adding labels.

Type annotations and code completion for session.create_client("glue").start_ml_labeling_set_generation_task_run method. boto3 documentation

# start_ml_labeling_set_generation_task_run method definition

await def start_ml_labeling_set_generation_task_run(
    self,
    *,
    TransformId: str,
    OutputS3Path: str,
) -> StartMLLabelingSetGenerationTaskRunResponseTypeDef:  # (1)
    ...
  1. See StartMLLabelingSetGenerationTaskRunResponseTypeDef
# start_ml_labeling_set_generation_task_run method usage example with argument unpacking

kwargs: StartMLLabelingSetGenerationTaskRunRequestRequestTypeDef = {  # (1)
    "TransformId": ...,
    "OutputS3Path": ...,
}

parent.start_ml_labeling_set_generation_task_run(**kwargs)
  1. See StartMLLabelingSetGenerationTaskRunRequestRequestTypeDef

start_trigger#

Starts an existing trigger.

Type annotations and code completion for session.create_client("glue").start_trigger method. boto3 documentation

# start_trigger method definition

await def start_trigger(
    self,
    *,
    Name: str,
) -> StartTriggerResponseTypeDef:  # (1)
    ...
  1. See StartTriggerResponseTypeDef
# start_trigger method usage example with argument unpacking

kwargs: StartTriggerRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.start_trigger(**kwargs)
  1. See StartTriggerRequestRequestTypeDef

start_workflow_run#

Starts a new run of the specified workflow.

Type annotations and code completion for session.create_client("glue").start_workflow_run method. boto3 documentation

# start_workflow_run method definition

await def start_workflow_run(
    self,
    *,
    Name: str,
    RunProperties: Mapping[str, str] = ...,
) -> StartWorkflowRunResponseTypeDef:  # (1)
    ...
  1. See StartWorkflowRunResponseTypeDef
# start_workflow_run method usage example with argument unpacking

kwargs: StartWorkflowRunRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.start_workflow_run(**kwargs)
  1. See StartWorkflowRunRequestRequestTypeDef

stop_crawler#

If the specified crawler is running, stops the crawl.

Type annotations and code completion for session.create_client("glue").stop_crawler method. boto3 documentation

# stop_crawler method definition

await def stop_crawler(
    self,
    *,
    Name: str,
) -> Dict[str, Any]:
    ...
# stop_crawler method usage example with argument unpacking

kwargs: StopCrawlerRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.stop_crawler(**kwargs)
  1. See StopCrawlerRequestRequestTypeDef

stop_crawler_schedule#

Sets the schedule state of the specified crawler to NOT_SCHEDULED, but does not stop the crawler if it is already running.

Type annotations and code completion for session.create_client("glue").stop_crawler_schedule method. boto3 documentation

# stop_crawler_schedule method definition

await def stop_crawler_schedule(
    self,
    *,
    CrawlerName: str,
) -> Dict[str, Any]:
    ...
# stop_crawler_schedule method usage example with argument unpacking

kwargs: StopCrawlerScheduleRequestRequestTypeDef = {  # (1)
    "CrawlerName": ...,
}

parent.stop_crawler_schedule(**kwargs)
  1. See StopCrawlerScheduleRequestRequestTypeDef

stop_session#

Stops the session.

Type annotations and code completion for session.create_client("glue").stop_session method. boto3 documentation

# stop_session method definition

await def stop_session(
    self,
    *,
    Id: str,
    RequestOrigin: str = ...,
) -> StopSessionResponseTypeDef:  # (1)
    ...
  1. See StopSessionResponseTypeDef
# stop_session method usage example with argument unpacking

kwargs: StopSessionRequestRequestTypeDef = {  # (1)
    "Id": ...,
}

parent.stop_session(**kwargs)
  1. See StopSessionRequestRequestTypeDef

stop_trigger#

Stops a specified trigger.

Type annotations and code completion for session.create_client("glue").stop_trigger method. boto3 documentation

# stop_trigger method definition

await def stop_trigger(
    self,
    *,
    Name: str,
) -> StopTriggerResponseTypeDef:  # (1)
    ...
  1. See StopTriggerResponseTypeDef
# stop_trigger method usage example with argument unpacking

kwargs: StopTriggerRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.stop_trigger(**kwargs)
  1. See StopTriggerRequestRequestTypeDef

stop_workflow_run#

Stops the execution of the specified workflow run.

Type annotations and code completion for session.create_client("glue").stop_workflow_run method. boto3 documentation

# stop_workflow_run method definition

await def stop_workflow_run(
    self,
    *,
    Name: str,
    RunId: str,
) -> Dict[str, Any]:
    ...
# stop_workflow_run method usage example with argument unpacking

kwargs: StopWorkflowRunRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "RunId": ...,
}

parent.stop_workflow_run(**kwargs)
  1. See StopWorkflowRunRequestRequestTypeDef

tag_resource#

Adds tags to a resource.

Type annotations and code completion for session.create_client("glue").tag_resource method. boto3 documentation

# tag_resource method definition

await def tag_resource(
    self,
    *,
    ResourceArn: str,
    TagsToAdd: Mapping[str, str],
) -> Dict[str, Any]:
    ...
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "TagsToAdd": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource#

Removes tags from a resource.

Type annotations and code completion for session.create_client("glue").untag_resource method. boto3 documentation

# untag_resource method definition

await def untag_resource(
    self,
    *,
    ResourceArn: str,
    TagsToRemove: Sequence[str],
) -> Dict[str, Any]:
    ...
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "TagsToRemove": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_blueprint#

Updates a registered blueprint.

Type annotations and code completion for session.create_client("glue").update_blueprint method. boto3 documentation

# update_blueprint method definition

await def update_blueprint(
    self,
    *,
    Name: str,
    BlueprintLocation: str,
    Description: str = ...,
) -> UpdateBlueprintResponseTypeDef:  # (1)
    ...
  1. See UpdateBlueprintResponseTypeDef
# update_blueprint method usage example with argument unpacking

kwargs: UpdateBlueprintRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "BlueprintLocation": ...,
}

parent.update_blueprint(**kwargs)
  1. See UpdateBlueprintRequestRequestTypeDef

update_classifier#

Modifies an existing classifier (a GrokClassifier, an XMLClassifier, a JsonClassifier, or a CsvClassifier, depending on which field is present).

Type annotations and code completion for session.create_client("glue").update_classifier method. boto3 documentation

# update_classifier method definition

await def update_classifier(
    self,
    *,
    GrokClassifier: UpdateGrokClassifierRequestTypeDef = ...,  # (1)
    XMLClassifier: UpdateXMLClassifierRequestTypeDef = ...,  # (2)
    JsonClassifier: UpdateJsonClassifierRequestTypeDef = ...,  # (3)
    CsvClassifier: UpdateCsvClassifierRequestTypeDef = ...,  # (4)
) -> Dict[str, Any]:
    ...
  1. See UpdateGrokClassifierRequestTypeDef
  2. See UpdateXMLClassifierRequestTypeDef
  3. See UpdateJsonClassifierRequestTypeDef
  4. See UpdateCsvClassifierRequestTypeDef
# update_classifier method usage example with argument unpacking

kwargs: UpdateClassifierRequestRequestTypeDef = {  # (1)
    "GrokClassifier": ...,
}

parent.update_classifier(**kwargs)
  1. See UpdateClassifierRequestRequestTypeDef

update_column_statistics_for_partition#

Creates or updates partition statistics of columns.

Type annotations and code completion for session.create_client("glue").update_column_statistics_for_partition method. boto3 documentation

# update_column_statistics_for_partition method definition

await def update_column_statistics_for_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionValues: Sequence[str],
    ColumnStatisticsList: Sequence[ColumnStatisticsTypeDef],  # (1)
    CatalogId: str = ...,
) -> UpdateColumnStatisticsForPartitionResponseTypeDef:  # (2)
    ...
  1. See ColumnStatisticsTypeDef
  2. See UpdateColumnStatisticsForPartitionResponseTypeDef
# update_column_statistics_for_partition method usage example with argument unpacking

kwargs: UpdateColumnStatisticsForPartitionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "PartitionValues": ...,
    "ColumnStatisticsList": ...,
}

parent.update_column_statistics_for_partition(**kwargs)
  1. See UpdateColumnStatisticsForPartitionRequestRequestTypeDef

update_column_statistics_for_table#

Creates or updates table statistics of columns.

Type annotations and code completion for session.create_client("glue").update_column_statistics_for_table method. boto3 documentation

# update_column_statistics_for_table method definition

await def update_column_statistics_for_table(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    ColumnStatisticsList: Sequence[ColumnStatisticsTypeDef],  # (1)
    CatalogId: str = ...,
) -> UpdateColumnStatisticsForTableResponseTypeDef:  # (2)
    ...
  1. See ColumnStatisticsTypeDef
  2. See UpdateColumnStatisticsForTableResponseTypeDef
# update_column_statistics_for_table method usage example with argument unpacking

kwargs: UpdateColumnStatisticsForTableRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "ColumnStatisticsList": ...,
}

parent.update_column_statistics_for_table(**kwargs)
  1. See UpdateColumnStatisticsForTableRequestRequestTypeDef

update_connection#

Updates a connection definition in the Data Catalog.

Type annotations and code completion for session.create_client("glue").update_connection method. boto3 documentation

# update_connection method definition

await def update_connection(
    self,
    *,
    Name: str,
    ConnectionInput: ConnectionInputTypeDef,  # (1)
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
  1. See ConnectionInputTypeDef
# update_connection method usage example with argument unpacking

kwargs: UpdateConnectionRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "ConnectionInput": ...,
}

parent.update_connection(**kwargs)
  1. See UpdateConnectionRequestRequestTypeDef

update_crawler#

Updates a crawler.

Type annotations and code completion for session.create_client("glue").update_crawler method. boto3 documentation

# update_crawler method definition

await def update_crawler(
    self,
    *,
    Name: str,
    Role: str = ...,
    DatabaseName: str = ...,
    Description: str = ...,
    Targets: CrawlerTargetsTypeDef = ...,  # (1)
    Schedule: str = ...,
    Classifiers: Sequence[str] = ...,
    TablePrefix: str = ...,
    SchemaChangePolicy: SchemaChangePolicyTypeDef = ...,  # (2)
    RecrawlPolicy: RecrawlPolicyTypeDef = ...,  # (3)
    LineageConfiguration: LineageConfigurationTypeDef = ...,  # (4)
    LakeFormationConfiguration: LakeFormationConfigurationTypeDef = ...,  # (5)
    Configuration: str = ...,
    CrawlerSecurityConfiguration: str = ...,
) -> Dict[str, Any]:
    ...
  1. See CrawlerTargetsTypeDef
  2. See SchemaChangePolicyTypeDef
  3. See RecrawlPolicyTypeDef
  4. See LineageConfigurationTypeDef
  5. See LakeFormationConfigurationTypeDef
# update_crawler method usage example with argument unpacking

kwargs: UpdateCrawlerRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.update_crawler(**kwargs)
  1. See UpdateCrawlerRequestRequestTypeDef

update_crawler_schedule#

Updates the schedule of a crawler using a cron expression.

Type annotations and code completion for session.create_client("glue").update_crawler_schedule method. boto3 documentation

# update_crawler_schedule method definition

await def update_crawler_schedule(
    self,
    *,
    CrawlerName: str,
    Schedule: str = ...,
) -> Dict[str, Any]:
    ...
# update_crawler_schedule method usage example with argument unpacking

kwargs: UpdateCrawlerScheduleRequestRequestTypeDef = {  # (1)
    "CrawlerName": ...,
}

parent.update_crawler_schedule(**kwargs)
  1. See UpdateCrawlerScheduleRequestRequestTypeDef

update_data_quality_ruleset#

Updates the specified data quality ruleset.

Type annotations and code completion for session.create_client("glue").update_data_quality_ruleset method. boto3 documentation

# update_data_quality_ruleset method definition

await def update_data_quality_ruleset(
    self,
    *,
    Name: str,
    Description: str = ...,
    Ruleset: str = ...,
) -> UpdateDataQualityRulesetResponseTypeDef:  # (1)
    ...
  1. See UpdateDataQualityRulesetResponseTypeDef
# update_data_quality_ruleset method usage example with argument unpacking

kwargs: UpdateDataQualityRulesetRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.update_data_quality_ruleset(**kwargs)
  1. See UpdateDataQualityRulesetRequestRequestTypeDef

update_database#

Updates an existing database definition in a Data Catalog.

Type annotations and code completion for session.create_client("glue").update_database method. boto3 documentation

# update_database method definition

await def update_database(
    self,
    *,
    Name: str,
    DatabaseInput: DatabaseInputTypeDef,  # (1)
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
  1. See DatabaseInputTypeDef
# update_database method usage example with argument unpacking

kwargs: UpdateDatabaseRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "DatabaseInput": ...,
}

parent.update_database(**kwargs)
  1. See UpdateDatabaseRequestRequestTypeDef

update_dev_endpoint#

Updates a specified development endpoint.

Type annotations and code completion for session.create_client("glue").update_dev_endpoint method. boto3 documentation

# update_dev_endpoint method definition

await def update_dev_endpoint(
    self,
    *,
    EndpointName: str,
    PublicKey: str = ...,
    AddPublicKeys: Sequence[str] = ...,
    DeletePublicKeys: Sequence[str] = ...,
    CustomLibraries: DevEndpointCustomLibrariesTypeDef = ...,  # (1)
    UpdateEtlLibraries: bool = ...,
    DeleteArguments: Sequence[str] = ...,
    AddArguments: Mapping[str, str] = ...,
) -> Dict[str, Any]:
    ...
  1. See DevEndpointCustomLibrariesTypeDef
# update_dev_endpoint method usage example with argument unpacking

kwargs: UpdateDevEndpointRequestRequestTypeDef = {  # (1)
    "EndpointName": ...,
}

parent.update_dev_endpoint(**kwargs)
  1. See UpdateDevEndpointRequestRequestTypeDef

update_job#

Updates an existing job definition.

Type annotations and code completion for session.create_client("glue").update_job method. boto3 documentation

# update_job method definition

await def update_job(
    self,
    *,
    JobName: str,
    JobUpdate: JobUpdateTypeDef,  # (1)
) -> UpdateJobResponseTypeDef:  # (2)
    ...
  1. See JobUpdateTypeDef
  2. See UpdateJobResponseTypeDef
# update_job method usage example with argument unpacking

kwargs: UpdateJobRequestRequestTypeDef = {  # (1)
    "JobName": ...,
    "JobUpdate": ...,
}

parent.update_job(**kwargs)
  1. See UpdateJobRequestRequestTypeDef

update_job_from_source_control#

Synchronizes a job from the source control repository.

Type annotations and code completion for session.create_client("glue").update_job_from_source_control method. boto3 documentation

# update_job_from_source_control method definition

await def update_job_from_source_control(
    self,
    *,
    JobName: str = ...,
    Provider: SourceControlProviderType = ...,  # (1)
    RepositoryName: str = ...,
    RepositoryOwner: str = ...,
    BranchName: str = ...,
    Folder: str = ...,
    CommitId: str = ...,
    AuthStrategy: SourceControlAuthStrategyType = ...,  # (2)
    AuthToken: str = ...,
) -> UpdateJobFromSourceControlResponseTypeDef:  # (3)
    ...
  1. See SourceControlProviderType
  2. See SourceControlAuthStrategyType
  3. See UpdateJobFromSourceControlResponseTypeDef
# update_job_from_source_control method usage example with argument unpacking

kwargs: UpdateJobFromSourceControlRequestRequestTypeDef = {  # (1)
    "JobName": ...,
}

parent.update_job_from_source_control(**kwargs)
  1. See UpdateJobFromSourceControlRequestRequestTypeDef

update_ml_transform#

Updates an existing machine learning transform.

Type annotations and code completion for session.create_client("glue").update_ml_transform method. boto3 documentation

# update_ml_transform method definition

await def update_ml_transform(
    self,
    *,
    TransformId: str,
    Name: str = ...,
    Description: str = ...,
    Parameters: TransformParametersTypeDef = ...,  # (1)
    Role: str = ...,
    GlueVersion: str = ...,
    MaxCapacity: float = ...,
    WorkerType: WorkerTypeType = ...,  # (2)
    NumberOfWorkers: int = ...,
    Timeout: int = ...,
    MaxRetries: int = ...,
) -> UpdateMLTransformResponseTypeDef:  # (3)
    ...
  1. See TransformParametersTypeDef
  2. See WorkerTypeType
  3. See UpdateMLTransformResponseTypeDef
# update_ml_transform method usage example with argument unpacking

kwargs: UpdateMLTransformRequestRequestTypeDef = {  # (1)
    "TransformId": ...,
}

parent.update_ml_transform(**kwargs)
  1. See UpdateMLTransformRequestRequestTypeDef

update_partition#

Updates a partition.

Type annotations and code completion for session.create_client("glue").update_partition method. boto3 documentation

# update_partition method definition

await def update_partition(
    self,
    *,
    DatabaseName: str,
    TableName: str,
    PartitionValueList: Sequence[str],
    PartitionInput: PartitionInputTypeDef,  # (1)
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
  1. See PartitionInputTypeDef
# update_partition method usage example with argument unpacking

kwargs: UpdatePartitionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableName": ...,
    "PartitionValueList": ...,
    "PartitionInput": ...,
}

parent.update_partition(**kwargs)
  1. See UpdatePartitionRequestRequestTypeDef

update_registry#

Updates an existing registry which is used to hold a collection of schemas.

Type annotations and code completion for session.create_client("glue").update_registry method. boto3 documentation

# update_registry method definition

await def update_registry(
    self,
    *,
    RegistryId: RegistryIdTypeDef,  # (1)
    Description: str,
) -> UpdateRegistryResponseTypeDef:  # (2)
    ...
  1. See RegistryIdTypeDef
  2. See UpdateRegistryResponseTypeDef
# update_registry method usage example with argument unpacking

kwargs: UpdateRegistryInputRequestTypeDef = {  # (1)
    "RegistryId": ...,
    "Description": ...,
}

parent.update_registry(**kwargs)
  1. See UpdateRegistryInputRequestTypeDef

update_schema#

Updates the description, compatibility setting, or version checkpoint for a schema set.

Type annotations and code completion for session.create_client("glue").update_schema method. boto3 documentation

# update_schema method definition

await def update_schema(
    self,
    *,
    SchemaId: SchemaIdTypeDef,  # (1)
    SchemaVersionNumber: SchemaVersionNumberTypeDef = ...,  # (2)
    Compatibility: CompatibilityType = ...,  # (3)
    Description: str = ...,
) -> UpdateSchemaResponseTypeDef:  # (4)
    ...
  1. See SchemaIdTypeDef
  2. See SchemaVersionNumberTypeDef
  3. See CompatibilityType
  4. See UpdateSchemaResponseTypeDef
# update_schema method usage example with argument unpacking

kwargs: UpdateSchemaInputRequestTypeDef = {  # (1)
    "SchemaId": ...,
}

parent.update_schema(**kwargs)
  1. See UpdateSchemaInputRequestTypeDef

update_source_control_from_job#

Synchronizes a job to the source control repository.

Type annotations and code completion for session.create_client("glue").update_source_control_from_job method. boto3 documentation

# update_source_control_from_job method definition

await def update_source_control_from_job(
    self,
    *,
    JobName: str = ...,
    Provider: SourceControlProviderType = ...,  # (1)
    RepositoryName: str = ...,
    RepositoryOwner: str = ...,
    BranchName: str = ...,
    Folder: str = ...,
    CommitId: str = ...,
    AuthStrategy: SourceControlAuthStrategyType = ...,  # (2)
    AuthToken: str = ...,
) -> UpdateSourceControlFromJobResponseTypeDef:  # (3)
    ...
  1. See SourceControlProviderType
  2. See SourceControlAuthStrategyType
  3. See UpdateSourceControlFromJobResponseTypeDef
# update_source_control_from_job method usage example with argument unpacking

kwargs: UpdateSourceControlFromJobRequestRequestTypeDef = {  # (1)
    "JobName": ...,
}

parent.update_source_control_from_job(**kwargs)
  1. See UpdateSourceControlFromJobRequestRequestTypeDef

update_table#

Updates a metadata table in the Data Catalog.

Type annotations and code completion for session.create_client("glue").update_table method. boto3 documentation

# update_table method definition

await def update_table(
    self,
    *,
    DatabaseName: str,
    TableInput: TableInputTypeDef,  # (1)
    CatalogId: str = ...,
    SkipArchive: bool = ...,
    TransactionId: str = ...,
    VersionId: str = ...,
) -> Dict[str, Any]:
    ...
  1. See TableInputTypeDef
# update_table method usage example with argument unpacking

kwargs: UpdateTableRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "TableInput": ...,
}

parent.update_table(**kwargs)
  1. See UpdateTableRequestRequestTypeDef

update_trigger#

Updates a trigger definition.

Type annotations and code completion for session.create_client("glue").update_trigger method. boto3 documentation

# update_trigger method definition

await def update_trigger(
    self,
    *,
    Name: str,
    TriggerUpdate: TriggerUpdateTypeDef,  # (1)
) -> UpdateTriggerResponseTypeDef:  # (2)
    ...
  1. See TriggerUpdateTypeDef
  2. See UpdateTriggerResponseTypeDef
# update_trigger method usage example with argument unpacking

kwargs: UpdateTriggerRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "TriggerUpdate": ...,
}

parent.update_trigger(**kwargs)
  1. See UpdateTriggerRequestRequestTypeDef

update_user_defined_function#

Updates an existing function definition in the Data Catalog.

Type annotations and code completion for session.create_client("glue").update_user_defined_function method. boto3 documentation

# update_user_defined_function method definition

await def update_user_defined_function(
    self,
    *,
    DatabaseName: str,
    FunctionName: str,
    FunctionInput: UserDefinedFunctionInputTypeDef,  # (1)
    CatalogId: str = ...,
) -> Dict[str, Any]:
    ...
  1. See UserDefinedFunctionInputTypeDef
# update_user_defined_function method usage example with argument unpacking

kwargs: UpdateUserDefinedFunctionRequestRequestTypeDef = {  # (1)
    "DatabaseName": ...,
    "FunctionName": ...,
    "FunctionInput": ...,
}

parent.update_user_defined_function(**kwargs)
  1. See UpdateUserDefinedFunctionRequestRequestTypeDef

update_workflow#

Updates an existing workflow.

Type annotations and code completion for session.create_client("glue").update_workflow method. boto3 documentation

# update_workflow method definition

await def update_workflow(
    self,
    *,
    Name: str,
    Description: str = ...,
    DefaultRunProperties: Mapping[str, str] = ...,
    MaxConcurrentRuns: int = ...,
) -> UpdateWorkflowResponseTypeDef:  # (1)
    ...
  1. See UpdateWorkflowResponseTypeDef
# update_workflow method usage example with argument unpacking

kwargs: UpdateWorkflowRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.update_workflow(**kwargs)
  1. See UpdateWorkflowRequestRequestTypeDef

__aenter__#

Type annotations and code completion for session.create_client("glue").__aenter__ method. boto3 documentation

# __aenter__ method definition

await def __aenter__(
    self,
) -> GlueClient:
    ...

__aexit__#

Type annotations and code completion for session.create_client("glue").__aexit__ method. boto3 documentation

# __aexit__ method definition

await def __aexit__(
    self,
    exc_type: Any,
    exc_val: Any,
    exc_tb: Any,
) -> Any:
    ...

get_paginator#

Type annotations and code completion for session.create_client("glue").get_paginator method with overloads.