import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config'; interface Blob {} declare class Glue extends Service { /** * Constructs a service object. This object has one method for each API operation. */ constructor(options?: Glue.Types.ClientConfiguration) config: Config & Glue.Types.ClientConfiguration; /** * Creates one or more partitions in a batch operation. */ batchCreatePartition(params: Glue.Types.BatchCreatePartitionRequest, callback?: (err: AWSError, data: Glue.Types.BatchCreatePartitionResponse) => void): Request; /** * Creates one or more partitions in a batch operation. */ batchCreatePartition(callback?: (err: AWSError, data: Glue.Types.BatchCreatePartitionResponse) => void): Request; /** * Deletes a list of connection definitions from the Data Catalog. */ batchDeleteConnection(params: Glue.Types.BatchDeleteConnectionRequest, callback?: (err: AWSError, data: Glue.Types.BatchDeleteConnectionResponse) => void): Request; /** * Deletes a list of connection definitions from the Data Catalog. */ batchDeleteConnection(callback?: (err: AWSError, data: Glue.Types.BatchDeleteConnectionResponse) => void): Request; /** * Deletes one or more partitions in a batch operation. */ batchDeletePartition(params: Glue.Types.BatchDeletePartitionRequest, callback?: (err: AWSError, data: Glue.Types.BatchDeletePartitionResponse) => void): Request; /** * Deletes one or more partitions in a batch operation. */ batchDeletePartition(callback?: (err: AWSError, data: Glue.Types.BatchDeletePartitionResponse) => void): Request; /** * Deletes multiple tables at once. After completing this operation, you no longer have access to the table versions and partitions that belong to the deleted table. AWS Glue deletes these "orphaned" resources asynchronously in a timely manner, at the discretion of the service. To ensure the immediate deletion of all related resources, before calling BatchDeleteTable, use DeleteTableVersion or BatchDeleteTableVersion, and DeletePartition or BatchDeletePartition, to delete any resources that belong to the table. */ batchDeleteTable(params: Glue.Types.BatchDeleteTableRequest, callback?: (err: AWSError, data: Glue.Types.BatchDeleteTableResponse) => void): Request; /** * Deletes multiple tables at once. After completing this operation, you no longer have access to the table versions and partitions that belong to the deleted table. AWS Glue deletes these "orphaned" resources asynchronously in a timely manner, at the discretion of the service. To ensure the immediate deletion of all related resources, before calling BatchDeleteTable, use DeleteTableVersion or BatchDeleteTableVersion, and DeletePartition or BatchDeletePartition, to delete any resources that belong to the table. */ batchDeleteTable(callback?: (err: AWSError, data: Glue.Types.BatchDeleteTableResponse) => void): Request; /** * Deletes a specified batch of versions of a table. */ batchDeleteTableVersion(params: Glue.Types.BatchDeleteTableVersionRequest, callback?: (err: AWSError, data: Glue.Types.BatchDeleteTableVersionResponse) => void): Request; /** * Deletes a specified batch of versions of a table. */ batchDeleteTableVersion(callback?: (err: AWSError, data: Glue.Types.BatchDeleteTableVersionResponse) => void): Request; /** * Returns a list of resource metadata for a given list of crawler names. After calling the ListCrawlers operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags. */ batchGetCrawlers(params: Glue.Types.BatchGetCrawlersRequest, callback?: (err: AWSError, data: Glue.Types.BatchGetCrawlersResponse) => void): Request; /** * Returns a list of resource metadata for a given list of crawler names. After calling the ListCrawlers operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags. */ batchGetCrawlers(callback?: (err: AWSError, data: Glue.Types.BatchGetCrawlersResponse) => void): Request; /** * Returns a list of resource metadata for a given list of development endpoint names. After calling the ListDevEndpoints operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags. */ batchGetDevEndpoints(params: Glue.Types.BatchGetDevEndpointsRequest, callback?: (err: AWSError, data: Glue.Types.BatchGetDevEndpointsResponse) => void): Request; /** * Returns a list of resource metadata for a given list of development endpoint names. After calling the ListDevEndpoints operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags. */ batchGetDevEndpoints(callback?: (err: AWSError, data: Glue.Types.BatchGetDevEndpointsResponse) => void): Request; /** * Returns a list of resource metadata for a given list of job names. After calling the ListJobs operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags. */ batchGetJobs(params: Glue.Types.BatchGetJobsRequest, callback?: (err: AWSError, data: Glue.Types.BatchGetJobsResponse) => void): Request; /** * Returns a list of resource metadata for a given list of job names. After calling the ListJobs operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags. */ batchGetJobs(callback?: (err: AWSError, data: Glue.Types.BatchGetJobsResponse) => void): Request; /** * Retrieves partitions in a batch request. */ batchGetPartition(params: Glue.Types.BatchGetPartitionRequest, callback?: (err: AWSError, data: Glue.Types.BatchGetPartitionResponse) => void): Request; /** * Retrieves partitions in a batch request. */ batchGetPartition(callback?: (err: AWSError, data: Glue.Types.BatchGetPartitionResponse) => void): Request; /** * Returns a list of resource metadata for a given list of trigger names. After calling the ListTriggers operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags. */ batchGetTriggers(params: Glue.Types.BatchGetTriggersRequest, callback?: (err: AWSError, data: Glue.Types.BatchGetTriggersResponse) => void): Request; /** * Returns a list of resource metadata for a given list of trigger names. After calling the ListTriggers operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags. */ batchGetTriggers(callback?: (err: AWSError, data: Glue.Types.BatchGetTriggersResponse) => void): Request; /** * Returns a list of resource metadata for a given list of workflow names. After calling the ListWorkflows operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags. */ batchGetWorkflows(params: Glue.Types.BatchGetWorkflowsRequest, callback?: (err: AWSError, data: Glue.Types.BatchGetWorkflowsResponse) => void): Request; /** * Returns a list of resource metadata for a given list of workflow names. After calling the ListWorkflows operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags. */ batchGetWorkflows(callback?: (err: AWSError, data: Glue.Types.BatchGetWorkflowsResponse) => void): Request; /** * Stops one or more job runs for a specified job definition. */ batchStopJobRun(params: Glue.Types.BatchStopJobRunRequest, callback?: (err: AWSError, data: Glue.Types.BatchStopJobRunResponse) => void): Request; /** * Stops one or more job runs for a specified job definition. */ batchStopJobRun(callback?: (err: AWSError, data: Glue.Types.BatchStopJobRunResponse) => void): Request; /** * Cancels (stops) a task run. Machine learning task runs are asynchronous tasks that AWS Glue runs on your behalf as part of various machine learning workflows. You can cancel a machine learning task run at any time by calling CancelMLTaskRun with a task run's parent transform's TransformID and the task run's TaskRunId. */ cancelMLTaskRun(params: Glue.Types.CancelMLTaskRunRequest, callback?: (err: AWSError, data: Glue.Types.CancelMLTaskRunResponse) => void): Request; /** * Cancels (stops) a task run. Machine learning task runs are asynchronous tasks that AWS Glue runs on your behalf as part of various machine learning workflows. You can cancel a machine learning task run at any time by calling CancelMLTaskRun with a task run's parent transform's TransformID and the task run's TaskRunId. */ cancelMLTaskRun(callback?: (err: AWSError, data: Glue.Types.CancelMLTaskRunResponse) => void): Request; /** * Creates a classifier in the user's account. This can be a GrokClassifier, an XMLClassifier, a JsonClassifier, or a CsvClassifier, depending on which field of the request is present. */ createClassifier(params: Glue.Types.CreateClassifierRequest, callback?: (err: AWSError, data: Glue.Types.CreateClassifierResponse) => void): Request; /** * Creates a classifier in the user's account. This can be a GrokClassifier, an XMLClassifier, a JsonClassifier, or a CsvClassifier, depending on which field of the request is present. */ createClassifier(callback?: (err: AWSError, data: Glue.Types.CreateClassifierResponse) => void): Request; /** * Creates a connection definition in the Data Catalog. */ createConnection(params: Glue.Types.CreateConnectionRequest, callback?: (err: AWSError, data: Glue.Types.CreateConnectionResponse) => void): Request; /** * Creates a connection definition in the Data Catalog. */ createConnection(callback?: (err: AWSError, data: Glue.Types.CreateConnectionResponse) => void): Request; /** * Creates a new crawler with specified targets, role, configuration, and optional schedule. At least one crawl target must be specified, in the s3Targets field, the jdbcTargets field, or the DynamoDBTargets field. */ createCrawler(params: Glue.Types.CreateCrawlerRequest, callback?: (err: AWSError, data: Glue.Types.CreateCrawlerResponse) => void): Request; /** * Creates a new crawler with specified targets, role, configuration, and optional schedule. At least one crawl target must be specified, in the s3Targets field, the jdbcTargets field, or the DynamoDBTargets field. */ createCrawler(callback?: (err: AWSError, data: Glue.Types.CreateCrawlerResponse) => void): Request; /** * Creates a new database in a Data Catalog. */ createDatabase(params: Glue.Types.CreateDatabaseRequest, callback?: (err: AWSError, data: Glue.Types.CreateDatabaseResponse) => void): Request; /** * Creates a new database in a Data Catalog. */ createDatabase(callback?: (err: AWSError, data: Glue.Types.CreateDatabaseResponse) => void): Request; /** * Creates a new development endpoint. */ createDevEndpoint(params: Glue.Types.CreateDevEndpointRequest, callback?: (err: AWSError, data: Glue.Types.CreateDevEndpointResponse) => void): Request; /** * Creates a new development endpoint. */ createDevEndpoint(callback?: (err: AWSError, data: Glue.Types.CreateDevEndpointResponse) => void): Request; /** * Creates a new job definition. */ createJob(params: Glue.Types.CreateJobRequest, callback?: (err: AWSError, data: Glue.Types.CreateJobResponse) => void): Request; /** * Creates a new job definition. */ createJob(callback?: (err: AWSError, data: Glue.Types.CreateJobResponse) => void): Request; /** * Creates an AWS Glue machine learning transform. This operation creates the transform and all the necessary parameters to train it. Call this operation as the first step in the process of using a machine learning transform (such as the FindMatches transform) for deduplicating data. You can provide an optional Description, in addition to the parameters that you want to use for your algorithm. You must also specify certain parameters for the tasks that AWS Glue runs on your behalf as part of learning from your data and creating a high-quality machine learning transform. These parameters include Role, and optionally, AllocatedCapacity, Timeout, and MaxRetries. For more information, see Jobs. */ createMLTransform(params: Glue.Types.CreateMLTransformRequest, callback?: (err: AWSError, data: Glue.Types.CreateMLTransformResponse) => void): Request; /** * Creates an AWS Glue machine learning transform. This operation creates the transform and all the necessary parameters to train it. Call this operation as the first step in the process of using a machine learning transform (such as the FindMatches transform) for deduplicating data. You can provide an optional Description, in addition to the parameters that you want to use for your algorithm. You must also specify certain parameters for the tasks that AWS Glue runs on your behalf as part of learning from your data and creating a high-quality machine learning transform. These parameters include Role, and optionally, AllocatedCapacity, Timeout, and MaxRetries. For more information, see Jobs. */ createMLTransform(callback?: (err: AWSError, data: Glue.Types.CreateMLTransformResponse) => void): Request; /** * Creates a new partition. */ createPartition(params: Glue.Types.CreatePartitionRequest, callback?: (err: AWSError, data: Glue.Types.CreatePartitionResponse) => void): Request; /** * Creates a new partition. */ createPartition(callback?: (err: AWSError, data: Glue.Types.CreatePartitionResponse) => void): Request; /** * Transforms a directed acyclic graph (DAG) into code. */ createScript(params: Glue.Types.CreateScriptRequest, callback?: (err: AWSError, data: Glue.Types.CreateScriptResponse) => void): Request; /** * Transforms a directed acyclic graph (DAG) into code. */ createScript(callback?: (err: AWSError, data: Glue.Types.CreateScriptResponse) => void): Request; /** * Creates a new security configuration. A security configuration is a set of security properties that can be used by AWS Glue. You can use a security configuration to encrypt data at rest. For information about using security configurations in AWS Glue, see Encrypting Data Written by Crawlers, Jobs, and Development Endpoints. */ createSecurityConfiguration(params: Glue.Types.CreateSecurityConfigurationRequest, callback?: (err: AWSError, data: Glue.Types.CreateSecurityConfigurationResponse) => void): Request; /** * Creates a new security configuration. A security configuration is a set of security properties that can be used by AWS Glue. You can use a security configuration to encrypt data at rest. For information about using security configurations in AWS Glue, see Encrypting Data Written by Crawlers, Jobs, and Development Endpoints. */ createSecurityConfiguration(callback?: (err: AWSError, data: Glue.Types.CreateSecurityConfigurationResponse) => void): Request; /** * Creates a new table definition in the Data Catalog. */ createTable(params: Glue.Types.CreateTableRequest, callback?: (err: AWSError, data: Glue.Types.CreateTableResponse) => void): Request; /** * Creates a new table definition in the Data Catalog. */ createTable(callback?: (err: AWSError, data: Glue.Types.CreateTableResponse) => void): Request; /** * Creates a new trigger. */ createTrigger(params: Glue.Types.CreateTriggerRequest, callback?: (err: AWSError, data: Glue.Types.CreateTriggerResponse) => void): Request; /** * Creates a new trigger. */ createTrigger(callback?: (err: AWSError, data: Glue.Types.CreateTriggerResponse) => void): Request; /** * Creates a new function definition in the Data Catalog. */ createUserDefinedFunction(params: Glue.Types.CreateUserDefinedFunctionRequest, callback?: (err: AWSError, data: Glue.Types.CreateUserDefinedFunctionResponse) => void): Request; /** * Creates a new function definition in the Data Catalog. */ createUserDefinedFunction(callback?: (err: AWSError, data: Glue.Types.CreateUserDefinedFunctionResponse) => void): Request; /** * Creates a new workflow. */ createWorkflow(params: Glue.Types.CreateWorkflowRequest, callback?: (err: AWSError, data: Glue.Types.CreateWorkflowResponse) => void): Request; /** * Creates a new workflow. */ createWorkflow(callback?: (err: AWSError, data: Glue.Types.CreateWorkflowResponse) => void): Request; /** * Removes a classifier from the Data Catalog. */ deleteClassifier(params: Glue.Types.DeleteClassifierRequest, callback?: (err: AWSError, data: Glue.Types.DeleteClassifierResponse) => void): Request; /** * Removes a classifier from the Data Catalog. */ deleteClassifier(callback?: (err: AWSError, data: Glue.Types.DeleteClassifierResponse) => void): Request; /** * Deletes a connection from the Data Catalog. */ deleteConnection(params: Glue.Types.DeleteConnectionRequest, callback?: (err: AWSError, data: Glue.Types.DeleteConnectionResponse) => void): Request; /** * Deletes a connection from the Data Catalog. */ deleteConnection(callback?: (err: AWSError, data: Glue.Types.DeleteConnectionResponse) => void): Request; /** * Removes a specified crawler from the AWS Glue Data Catalog, unless the crawler state is RUNNING. */ deleteCrawler(params: Glue.Types.DeleteCrawlerRequest, callback?: (err: AWSError, data: Glue.Types.DeleteCrawlerResponse) => void): Request; /** * Removes a specified crawler from the AWS Glue Data Catalog, unless the crawler state is RUNNING. */ deleteCrawler(callback?: (err: AWSError, data: Glue.Types.DeleteCrawlerResponse) => void): Request; /** * Removes a specified database from a Data Catalog. After completing this operation, you no longer have access to the tables (and all table versions and partitions that might belong to the tables) and the user-defined functions in the deleted database. AWS Glue deletes these "orphaned" resources asynchronously in a timely manner, at the discretion of the service. To ensure the immediate deletion of all related resources, before calling DeleteDatabase, use DeleteTableVersion or BatchDeleteTableVersion, DeletePartition or BatchDeletePartition, DeleteUserDefinedFunction, and DeleteTable or BatchDeleteTable, to delete any resources that belong to the database. */ deleteDatabase(params: Glue.Types.DeleteDatabaseRequest, callback?: (err: AWSError, data: Glue.Types.DeleteDatabaseResponse) => void): Request; /** * Removes a specified database from a Data Catalog. After completing this operation, you no longer have access to the tables (and all table versions and partitions that might belong to the tables) and the user-defined functions in the deleted database. AWS Glue deletes these "orphaned" resources asynchronously in a timely manner, at the discretion of the service. To ensure the immediate deletion of all related resources, before calling DeleteDatabase, use DeleteTableVersion or BatchDeleteTableVersion, DeletePartition or BatchDeletePartition, DeleteUserDefinedFunction, and DeleteTable or BatchDeleteTable, to delete any resources that belong to the database. */ deleteDatabase(callback?: (err: AWSError, data: Glue.Types.DeleteDatabaseResponse) => void): Request; /** * Deletes a specified development endpoint. */ deleteDevEndpoint(params: Glue.Types.DeleteDevEndpointRequest, callback?: (err: AWSError, data: Glue.Types.DeleteDevEndpointResponse) => void): Request; /** * Deletes a specified development endpoint. */ deleteDevEndpoint(callback?: (err: AWSError, data: Glue.Types.DeleteDevEndpointResponse) => void): Request; /** * Deletes a specified job definition. If the job definition is not found, no exception is thrown. */ deleteJob(params: Glue.Types.DeleteJobRequest, callback?: (err: AWSError, data: Glue.Types.DeleteJobResponse) => void): Request; /** * Deletes a specified job definition. If the job definition is not found, no exception is thrown. */ deleteJob(callback?: (err: AWSError, data: Glue.Types.DeleteJobResponse) => void): Request; /** * Deletes an AWS Glue machine learning transform. Machine learning transforms are a special type of transform that use machine learning to learn the details of the transformation to be performed by learning from examples provided by humans. These transformations are then saved by AWS Glue. If you no longer need a transform, you can delete it by calling DeleteMLTransforms. However, any AWS Glue jobs that still reference the deleted transform will no longer succeed. */ deleteMLTransform(params: Glue.Types.DeleteMLTransformRequest, callback?: (err: AWSError, data: Glue.Types.DeleteMLTransformResponse) => void): Request; /** * Deletes an AWS Glue machine learning transform. Machine learning transforms are a special type of transform that use machine learning to learn the details of the transformation to be performed by learning from examples provided by humans. These transformations are then saved by AWS Glue. If you no longer need a transform, you can delete it by calling DeleteMLTransforms. However, any AWS Glue jobs that still reference the deleted transform will no longer succeed. */ deleteMLTransform(callback?: (err: AWSError, data: Glue.Types.DeleteMLTransformResponse) => void): Request; /** * Deletes a specified partition. */ deletePartition(params: Glue.Types.DeletePartitionRequest, callback?: (err: AWSError, data: Glue.Types.DeletePartitionResponse) => void): Request; /** * Deletes a specified partition. */ deletePartition(callback?: (err: AWSError, data: Glue.Types.DeletePartitionResponse) => void): Request; /** * Deletes a specified policy. */ deleteResourcePolicy(params: Glue.Types.DeleteResourcePolicyRequest, callback?: (err: AWSError, data: Glue.Types.DeleteResourcePolicyResponse) => void): Request; /** * Deletes a specified policy. */ deleteResourcePolicy(callback?: (err: AWSError, data: Glue.Types.DeleteResourcePolicyResponse) => void): Request; /** * Deletes a specified security configuration. */ deleteSecurityConfiguration(params: Glue.Types.DeleteSecurityConfigurationRequest, callback?: (err: AWSError, data: Glue.Types.DeleteSecurityConfigurationResponse) => void): Request; /** * Deletes a specified security configuration. */ deleteSecurityConfiguration(callback?: (err: AWSError, data: Glue.Types.DeleteSecurityConfigurationResponse) => void): Request; /** * Removes a table definition from the Data Catalog. After completing this operation, you no longer have access to the table versions and partitions that belong to the deleted table. AWS Glue deletes these "orphaned" resources asynchronously in a timely manner, at the discretion of the service. To ensure the immediate deletion of all related resources, before calling DeleteTable, use DeleteTableVersion or BatchDeleteTableVersion, and DeletePartition or BatchDeletePartition, to delete any resources that belong to the table. */ deleteTable(params: Glue.Types.DeleteTableRequest, callback?: (err: AWSError, data: Glue.Types.DeleteTableResponse) => void): Request; /** * Removes a table definition from the Data Catalog. After completing this operation, you no longer have access to the table versions and partitions that belong to the deleted table. AWS Glue deletes these "orphaned" resources asynchronously in a timely manner, at the discretion of the service. To ensure the immediate deletion of all related resources, before calling DeleteTable, use DeleteTableVersion or BatchDeleteTableVersion, and DeletePartition or BatchDeletePartition, to delete any resources that belong to the table. */ deleteTable(callback?: (err: AWSError, data: Glue.Types.DeleteTableResponse) => void): Request; /** * Deletes a specified version of a table. */ deleteTableVersion(params: Glue.Types.DeleteTableVersionRequest, callback?: (err: AWSError, data: Glue.Types.DeleteTableVersionResponse) => void): Request; /** * Deletes a specified version of a table. */ deleteTableVersion(callback?: (err: AWSError, data: Glue.Types.DeleteTableVersionResponse) => void): Request; /** * Deletes a specified trigger. If the trigger is not found, no exception is thrown. */ deleteTrigger(params: Glue.Types.DeleteTriggerRequest, callback?: (err: AWSError, data: Glue.Types.DeleteTriggerResponse) => void): Request; /** * Deletes a specified trigger. If the trigger is not found, no exception is thrown. */ deleteTrigger(callback?: (err: AWSError, data: Glue.Types.DeleteTriggerResponse) => void): Request; /** * Deletes an existing function definition from the Data Catalog. */ deleteUserDefinedFunction(params: Glue.Types.DeleteUserDefinedFunctionRequest, callback?: (err: AWSError, data: Glue.Types.DeleteUserDefinedFunctionResponse) => void): Request; /** * Deletes an existing function definition from the Data Catalog. */ deleteUserDefinedFunction(callback?: (err: AWSError, data: Glue.Types.DeleteUserDefinedFunctionResponse) => void): Request; /** * Deletes a workflow. */ deleteWorkflow(params: Glue.Types.DeleteWorkflowRequest, callback?: (err: AWSError, data: Glue.Types.DeleteWorkflowResponse) => void): Request; /** * Deletes a workflow. */ deleteWorkflow(callback?: (err: AWSError, data: Glue.Types.DeleteWorkflowResponse) => void): Request; /** * Retrieves the status of a migration operation. */ getCatalogImportStatus(params: Glue.Types.GetCatalogImportStatusRequest, callback?: (err: AWSError, data: Glue.Types.GetCatalogImportStatusResponse) => void): Request; /** * Retrieves the status of a migration operation. */ getCatalogImportStatus(callback?: (err: AWSError, data: Glue.Types.GetCatalogImportStatusResponse) => void): Request; /** * Retrieve a classifier by name. */ getClassifier(params: Glue.Types.GetClassifierRequest, callback?: (err: AWSError, data: Glue.Types.GetClassifierResponse) => void): Request; /** * Retrieve a classifier by name. */ getClassifier(callback?: (err: AWSError, data: Glue.Types.GetClassifierResponse) => void): Request; /** * Lists all classifier objects in the Data Catalog. */ getClassifiers(params: Glue.Types.GetClassifiersRequest, callback?: (err: AWSError, data: Glue.Types.GetClassifiersResponse) => void): Request; /** * Lists all classifier objects in the Data Catalog. */ getClassifiers(callback?: (err: AWSError, data: Glue.Types.GetClassifiersResponse) => void): Request; /** * Retrieves a connection definition from the Data Catalog. */ getConnection(params: Glue.Types.GetConnectionRequest, callback?: (err: AWSError, data: Glue.Types.GetConnectionResponse) => void): Request; /** * Retrieves a connection definition from the Data Catalog. */ getConnection(callback?: (err: AWSError, data: Glue.Types.GetConnectionResponse) => void): Request; /** * Retrieves a list of connection definitions from the Data Catalog. */ getConnections(params: Glue.Types.GetConnectionsRequest, callback?: (err: AWSError, data: Glue.Types.GetConnectionsResponse) => void): Request; /** * Retrieves a list of connection definitions from the Data Catalog. */ getConnections(callback?: (err: AWSError, data: Glue.Types.GetConnectionsResponse) => void): Request; /** * Retrieves metadata for a specified crawler. */ getCrawler(params: Glue.Types.GetCrawlerRequest, callback?: (err: AWSError, data: Glue.Types.GetCrawlerResponse) => void): Request; /** * Retrieves metadata for a specified crawler. */ getCrawler(callback?: (err: AWSError, data: Glue.Types.GetCrawlerResponse) => void): Request; /** * Retrieves metrics about specified crawlers. */ getCrawlerMetrics(params: Glue.Types.GetCrawlerMetricsRequest, callback?: (err: AWSError, data: Glue.Types.GetCrawlerMetricsResponse) => void): Request; /** * Retrieves metrics about specified crawlers. */ getCrawlerMetrics(callback?: (err: AWSError, data: Glue.Types.GetCrawlerMetricsResponse) => void): Request; /** * Retrieves metadata for all crawlers defined in the customer account. */ getCrawlers(params: Glue.Types.GetCrawlersRequest, callback?: (err: AWSError, data: Glue.Types.GetCrawlersResponse) => void): Request; /** * Retrieves metadata for all crawlers defined in the customer account. */ getCrawlers(callback?: (err: AWSError, data: Glue.Types.GetCrawlersResponse) => void): Request; /** * Retrieves the security configuration for a specified catalog. */ getDataCatalogEncryptionSettings(params: Glue.Types.GetDataCatalogEncryptionSettingsRequest, callback?: (err: AWSError, data: Glue.Types.GetDataCatalogEncryptionSettingsResponse) => void): Request; /** * Retrieves the security configuration for a specified catalog. */ getDataCatalogEncryptionSettings(callback?: (err: AWSError, data: Glue.Types.GetDataCatalogEncryptionSettingsResponse) => void): Request; /** * Retrieves the definition of a specified database. */ getDatabase(params: Glue.Types.GetDatabaseRequest, callback?: (err: AWSError, data: Glue.Types.GetDatabaseResponse) => void): Request; /** * Retrieves the definition of a specified database. */ getDatabase(callback?: (err: AWSError, data: Glue.Types.GetDatabaseResponse) => void): Request; /** * Retrieves all databases defined in a given Data Catalog. */ getDatabases(params: Glue.Types.GetDatabasesRequest, callback?: (err: AWSError, data: Glue.Types.GetDatabasesResponse) => void): Request; /** * Retrieves all databases defined in a given Data Catalog. */ getDatabases(callback?: (err: AWSError, data: Glue.Types.GetDatabasesResponse) => void): Request; /** * Transforms a Python script into a directed acyclic graph (DAG). */ getDataflowGraph(params: Glue.Types.GetDataflowGraphRequest, callback?: (err: AWSError, data: Glue.Types.GetDataflowGraphResponse) => void): Request; /** * Transforms a Python script into a directed acyclic graph (DAG). */ getDataflowGraph(callback?: (err: AWSError, data: Glue.Types.GetDataflowGraphResponse) => void): Request; /** * Retrieves information about a specified development endpoint. When you create a development endpoint in a virtual private cloud (VPC), AWS Glue returns only a private IP address, and the public IP address field is not populated. When you create a non-VPC development endpoint, AWS Glue returns only a public IP address. */ getDevEndpoint(params: Glue.Types.GetDevEndpointRequest, callback?: (err: AWSError, data: Glue.Types.GetDevEndpointResponse) => void): Request; /** * Retrieves information about a specified development endpoint. When you create a development endpoint in a virtual private cloud (VPC), AWS Glue returns only a private IP address, and the public IP address field is not populated. When you create a non-VPC development endpoint, AWS Glue returns only a public IP address. */ getDevEndpoint(callback?: (err: AWSError, data: Glue.Types.GetDevEndpointResponse) => void): Request; /** * Retrieves all the development endpoints in this AWS account. When you create a development endpoint in a virtual private cloud (VPC), AWS Glue returns only a private IP address and the public IP address field is not populated. When you create a non-VPC development endpoint, AWS Glue returns only a public IP address. */ getDevEndpoints(params: Glue.Types.GetDevEndpointsRequest, callback?: (err: AWSError, data: Glue.Types.GetDevEndpointsResponse) => void): Request; /** * Retrieves all the development endpoints in this AWS account. When you create a development endpoint in a virtual private cloud (VPC), AWS Glue returns only a private IP address and the public IP address field is not populated. When you create a non-VPC development endpoint, AWS Glue returns only a public IP address. */ getDevEndpoints(callback?: (err: AWSError, data: Glue.Types.GetDevEndpointsResponse) => void): Request; /** * Retrieves an existing job definition. */ getJob(params: Glue.Types.GetJobRequest, callback?: (err: AWSError, data: Glue.Types.GetJobResponse) => void): Request; /** * Retrieves an existing job definition. */ getJob(callback?: (err: AWSError, data: Glue.Types.GetJobResponse) => void): Request; /** * Returns information on a job bookmark entry. */ getJobBookmark(params: Glue.Types.GetJobBookmarkRequest, callback?: (err: AWSError, data: Glue.Types.GetJobBookmarkResponse) => void): Request; /** * Returns information on a job bookmark entry. */ getJobBookmark(callback?: (err: AWSError, data: Glue.Types.GetJobBookmarkResponse) => void): Request; /** * Retrieves the metadata for a given job run. */ getJobRun(params: Glue.Types.GetJobRunRequest, callback?: (err: AWSError, data: Glue.Types.GetJobRunResponse) => void): Request; /** * Retrieves the metadata for a given job run. */ getJobRun(callback?: (err: AWSError, data: Glue.Types.GetJobRunResponse) => void): Request; /** * Retrieves metadata for all runs of a given job definition. */ getJobRuns(params: Glue.Types.GetJobRunsRequest, callback?: (err: AWSError, data: Glue.Types.GetJobRunsResponse) => void): Request; /** * Retrieves metadata for all runs of a given job definition. */ getJobRuns(callback?: (err: AWSError, data: Glue.Types.GetJobRunsResponse) => void): Request; /** * Retrieves all current job definitions. */ getJobs(params: Glue.Types.GetJobsRequest, callback?: (err: AWSError, data: Glue.Types.GetJobsResponse) => void): Request; /** * Retrieves all current job definitions. */ getJobs(callback?: (err: AWSError, data: Glue.Types.GetJobsResponse) => void): Request; /** * Gets details for a specific task run on a machine learning transform. Machine learning task runs are asynchronous tasks that AWS Glue runs on your behalf as part of various machine learning workflows. You can check the stats of any task run by calling GetMLTaskRun with the TaskRunID and its parent transform's TransformID. */ getMLTaskRun(params: Glue.Types.GetMLTaskRunRequest, callback?: (err: AWSError, data: Glue.Types.GetMLTaskRunResponse) => void): Request; /** * Gets details for a specific task run on a machine learning transform. Machine learning task runs are asynchronous tasks that AWS Glue runs on your behalf as part of various machine learning workflows. You can check the stats of any task run by calling GetMLTaskRun with the TaskRunID and its parent transform's TransformID. */ getMLTaskRun(callback?: (err: AWSError, data: Glue.Types.GetMLTaskRunResponse) => void): Request; /** * Gets a list of runs for a machine learning transform. Machine learning task runs are asynchronous tasks that AWS Glue runs on your behalf as part of various machine learning workflows. You can get a sortable, filterable list of machine learning task runs by calling GetMLTaskRuns with their parent transform's TransformID and other optional parameters as documented in this section. This operation returns a list of historic runs and must be paginated. */ getMLTaskRuns(params: Glue.Types.GetMLTaskRunsRequest, callback?: (err: AWSError, data: Glue.Types.GetMLTaskRunsResponse) => void): Request; /** * Gets a list of runs for a machine learning transform. Machine learning task runs are asynchronous tasks that AWS Glue runs on your behalf as part of various machine learning workflows. You can get a sortable, filterable list of machine learning task runs by calling GetMLTaskRuns with their parent transform's TransformID and other optional parameters as documented in this section. This operation returns a list of historic runs and must be paginated. */ getMLTaskRuns(callback?: (err: AWSError, data: Glue.Types.GetMLTaskRunsResponse) => void): Request; /** * Gets an AWS Glue machine learning transform artifact and all its corresponding metadata. Machine learning transforms are a special type of transform that use machine learning to learn the details of the transformation to be performed by learning from examples provided by humans. These transformations are then saved by AWS Glue. You can retrieve their metadata by calling GetMLTransform. */ getMLTransform(params: Glue.Types.GetMLTransformRequest, callback?: (err: AWSError, data: Glue.Types.GetMLTransformResponse) => void): Request; /** * Gets an AWS Glue machine learning transform artifact and all its corresponding metadata. Machine learning transforms are a special type of transform that use machine learning to learn the details of the transformation to be performed by learning from examples provided by humans. These transformations are then saved by AWS Glue. You can retrieve their metadata by calling GetMLTransform. */ getMLTransform(callback?: (err: AWSError, data: Glue.Types.GetMLTransformResponse) => void): Request; /** * Gets a sortable, filterable list of existing AWS Glue machine learning transforms. Machine learning transforms are a special type of transform that use machine learning to learn the details of the transformation to be performed by learning from examples provided by humans. These transformations are then saved by AWS Glue, and you can retrieve their metadata by calling GetMLTransforms. */ getMLTransforms(params: Glue.Types.GetMLTransformsRequest, callback?: (err: AWSError, data: Glue.Types.GetMLTransformsResponse) => void): Request; /** * Gets a sortable, filterable list of existing AWS Glue machine learning transforms. Machine learning transforms are a special type of transform that use machine learning to learn the details of the transformation to be performed by learning from examples provided by humans. These transformations are then saved by AWS Glue, and you can retrieve their metadata by calling GetMLTransforms. */ getMLTransforms(callback?: (err: AWSError, data: Glue.Types.GetMLTransformsResponse) => void): Request; /** * Creates mappings. */ getMapping(params: Glue.Types.GetMappingRequest, callback?: (err: AWSError, data: Glue.Types.GetMappingResponse) => void): Request; /** * Creates mappings. */ getMapping(callback?: (err: AWSError, data: Glue.Types.GetMappingResponse) => void): Request; /** * Retrieves information about a specified partition. */ getPartition(params: Glue.Types.GetPartitionRequest, callback?: (err: AWSError, data: Glue.Types.GetPartitionResponse) => void): Request; /** * Retrieves information about a specified partition. */ getPartition(callback?: (err: AWSError, data: Glue.Types.GetPartitionResponse) => void): Request; /** * Retrieves information about the partitions in a table. */ getPartitions(params: Glue.Types.GetPartitionsRequest, callback?: (err: AWSError, data: Glue.Types.GetPartitionsResponse) => void): Request; /** * Retrieves information about the partitions in a table. */ getPartitions(callback?: (err: AWSError, data: Glue.Types.GetPartitionsResponse) => void): Request; /** * Gets code to perform a specified mapping. */ getPlan(params: Glue.Types.GetPlanRequest, callback?: (err: AWSError, data: Glue.Types.GetPlanResponse) => void): Request; /** * Gets code to perform a specified mapping. */ getPlan(callback?: (err: AWSError, data: Glue.Types.GetPlanResponse) => void): Request; /** * Retrieves a specified resource policy. */ getResourcePolicy(params: Glue.Types.GetResourcePolicyRequest, callback?: (err: AWSError, data: Glue.Types.GetResourcePolicyResponse) => void): Request; /** * Retrieves a specified resource policy. */ getResourcePolicy(callback?: (err: AWSError, data: Glue.Types.GetResourcePolicyResponse) => void): Request; /** * Retrieves a specified security configuration. */ getSecurityConfiguration(params: Glue.Types.GetSecurityConfigurationRequest, callback?: (err: AWSError, data: Glue.Types.GetSecurityConfigurationResponse) => void): Request; /** * Retrieves a specified security configuration. */ getSecurityConfiguration(callback?: (err: AWSError, data: Glue.Types.GetSecurityConfigurationResponse) => void): Request; /** * Retrieves a list of all security configurations. */ getSecurityConfigurations(params: Glue.Types.GetSecurityConfigurationsRequest, callback?: (err: AWSError, data: Glue.Types.GetSecurityConfigurationsResponse) => void): Request; /** * Retrieves a list of all security configurations. */ getSecurityConfigurations(callback?: (err: AWSError, data: Glue.Types.GetSecurityConfigurationsResponse) => void): Request; /** * Retrieves the Table definition in a Data Catalog for a specified table. */ getTable(params: Glue.Types.GetTableRequest, callback?: (err: AWSError, data: Glue.Types.GetTableResponse) => void): Request; /** * Retrieves the Table definition in a Data Catalog for a specified table. */ getTable(callback?: (err: AWSError, data: Glue.Types.GetTableResponse) => void): Request; /** * Retrieves a specified version of a table. */ getTableVersion(params: Glue.Types.GetTableVersionRequest, callback?: (err: AWSError, data: Glue.Types.GetTableVersionResponse) => void): Request; /** * Retrieves a specified version of a table. */ getTableVersion(callback?: (err: AWSError, data: Glue.Types.GetTableVersionResponse) => void): Request; /** * Retrieves a list of strings that identify available versions of a specified table. */ getTableVersions(params: Glue.Types.GetTableVersionsRequest, callback?: (err: AWSError, data: Glue.Types.GetTableVersionsResponse) => void): Request; /** * Retrieves a list of strings that identify available versions of a specified table. */ getTableVersions(callback?: (err: AWSError, data: Glue.Types.GetTableVersionsResponse) => void): Request; /** * Retrieves the definitions of some or all of the tables in a given Database. */ getTables(params: Glue.Types.GetTablesRequest, callback?: (err: AWSError, data: Glue.Types.GetTablesResponse) => void): Request; /** * Retrieves the definitions of some or all of the tables in a given Database. */ getTables(callback?: (err: AWSError, data: Glue.Types.GetTablesResponse) => void): Request; /** * Retrieves a list of tags associated with a resource. */ getTags(params: Glue.Types.GetTagsRequest, callback?: (err: AWSError, data: Glue.Types.GetTagsResponse) => void): Request; /** * Retrieves a list of tags associated with a resource. */ getTags(callback?: (err: AWSError, data: Glue.Types.GetTagsResponse) => void): Request; /** * Retrieves the definition of a trigger. */ getTrigger(params: Glue.Types.GetTriggerRequest, callback?: (err: AWSError, data: Glue.Types.GetTriggerResponse) => void): Request; /** * Retrieves the definition of a trigger. */ getTrigger(callback?: (err: AWSError, data: Glue.Types.GetTriggerResponse) => void): Request; /** * Gets all the triggers associated with a job. */ getTriggers(params: Glue.Types.GetTriggersRequest, callback?: (err: AWSError, data: Glue.Types.GetTriggersResponse) => void): Request; /** * Gets all the triggers associated with a job. */ getTriggers(callback?: (err: AWSError, data: Glue.Types.GetTriggersResponse) => void): Request; /** * Retrieves a specified function definition from the Data Catalog. */ getUserDefinedFunction(params: Glue.Types.GetUserDefinedFunctionRequest, callback?: (err: AWSError, data: Glue.Types.GetUserDefinedFunctionResponse) => void): Request; /** * Retrieves a specified function definition from the Data Catalog. */ getUserDefinedFunction(callback?: (err: AWSError, data: Glue.Types.GetUserDefinedFunctionResponse) => void): Request; /** * Retrieves multiple function definitions from the Data Catalog. */ getUserDefinedFunctions(params: Glue.Types.GetUserDefinedFunctionsRequest, callback?: (err: AWSError, data: Glue.Types.GetUserDefinedFunctionsResponse) => void): Request; /** * Retrieves multiple function definitions from the Data Catalog. */ getUserDefinedFunctions(callback?: (err: AWSError, data: Glue.Types.GetUserDefinedFunctionsResponse) => void): Request; /** * Retrieves resource metadata for a workflow. */ getWorkflow(params: Glue.Types.GetWorkflowRequest, callback?: (err: AWSError, data: Glue.Types.GetWorkflowResponse) => void): Request; /** * Retrieves resource metadata for a workflow. */ getWorkflow(callback?: (err: AWSError, data: Glue.Types.GetWorkflowResponse) => void): Request; /** * Retrieves the metadata for a given workflow run. */ getWorkflowRun(params: Glue.Types.GetWorkflowRunRequest, callback?: (err: AWSError, data: Glue.Types.GetWorkflowRunResponse) => void): Request; /** * Retrieves the metadata for a given workflow run. */ getWorkflowRun(callback?: (err: AWSError, data: Glue.Types.GetWorkflowRunResponse) => void): Request; /** * Retrieves the workflow run properties which were set during the run. */ getWorkflowRunProperties(params: Glue.Types.GetWorkflowRunPropertiesRequest, callback?: (err: AWSError, data: Glue.Types.GetWorkflowRunPropertiesResponse) => void): Request; /** * Retrieves the workflow run properties which were set during the run. */ getWorkflowRunProperties(callback?: (err: AWSError, data: Glue.Types.GetWorkflowRunPropertiesResponse) => void): Request; /** * Retrieves metadata for all runs of a given workflow. */ getWorkflowRuns(params: Glue.Types.GetWorkflowRunsRequest, callback?: (err: AWSError, data: Glue.Types.GetWorkflowRunsResponse) => void): Request; /** * Retrieves metadata for all runs of a given workflow. */ getWorkflowRuns(callback?: (err: AWSError, data: Glue.Types.GetWorkflowRunsResponse) => void): Request; /** * Imports an existing Amazon Athena Data Catalog to AWS Glue */ importCatalogToGlue(params: Glue.Types.ImportCatalogToGlueRequest, callback?: (err: AWSError, data: Glue.Types.ImportCatalogToGlueResponse) => void): Request; /** * Imports an existing Amazon Athena Data Catalog to AWS Glue */ importCatalogToGlue(callback?: (err: AWSError, data: Glue.Types.ImportCatalogToGlueResponse) => void): Request; /** * Retrieves the names of all crawler resources in this AWS account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names. This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved. */ listCrawlers(params: Glue.Types.ListCrawlersRequest, callback?: (err: AWSError, data: Glue.Types.ListCrawlersResponse) => void): Request; /** * Retrieves the names of all crawler resources in this AWS account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names. This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved. */ listCrawlers(callback?: (err: AWSError, data: Glue.Types.ListCrawlersResponse) => void): Request; /** * Retrieves the names of all DevEndpoint resources in this AWS account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names. This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved. */ listDevEndpoints(params: Glue.Types.ListDevEndpointsRequest, callback?: (err: AWSError, data: Glue.Types.ListDevEndpointsResponse) => void): Request; /** * Retrieves the names of all DevEndpoint resources in this AWS account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names. This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved. */ listDevEndpoints(callback?: (err: AWSError, data: Glue.Types.ListDevEndpointsResponse) => void): Request; /** * Retrieves the names of all job resources in this AWS account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names. This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved. */ listJobs(params: Glue.Types.ListJobsRequest, callback?: (err: AWSError, data: Glue.Types.ListJobsResponse) => void): Request; /** * Retrieves the names of all job resources in this AWS account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names. This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved. */ listJobs(callback?: (err: AWSError, data: Glue.Types.ListJobsResponse) => void): Request; /** * Retrieves the names of all trigger resources in this AWS account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names. This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved. */ listTriggers(params: Glue.Types.ListTriggersRequest, callback?: (err: AWSError, data: Glue.Types.ListTriggersResponse) => void): Request; /** * Retrieves the names of all trigger resources in this AWS account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names. This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved. */ listTriggers(callback?: (err: AWSError, data: Glue.Types.ListTriggersResponse) => void): Request; /** * Lists names of workflows created in the account. */ listWorkflows(params: Glue.Types.ListWorkflowsRequest, callback?: (err: AWSError, data: Glue.Types.ListWorkflowsResponse) => void): Request; /** * Lists names of workflows created in the account. */ listWorkflows(callback?: (err: AWSError, data: Glue.Types.ListWorkflowsResponse) => void): Request; /** * Sets the security configuration for a specified catalog. After the configuration has been set, the specified encryption is applied to every catalog write thereafter. */ putDataCatalogEncryptionSettings(params: Glue.Types.PutDataCatalogEncryptionSettingsRequest, callback?: (err: AWSError, data: Glue.Types.PutDataCatalogEncryptionSettingsResponse) => void): Request; /** * Sets the security configuration for a specified catalog. After the configuration has been set, the specified encryption is applied to every catalog write thereafter. */ putDataCatalogEncryptionSettings(callback?: (err: AWSError, data: Glue.Types.PutDataCatalogEncryptionSettingsResponse) => void): Request; /** * Sets the Data Catalog resource policy for access control. */ putResourcePolicy(params: Glue.Types.PutResourcePolicyRequest, callback?: (err: AWSError, data: Glue.Types.PutResourcePolicyResponse) => void): Request; /** * Sets the Data Catalog resource policy for access control. */ putResourcePolicy(callback?: (err: AWSError, data: Glue.Types.PutResourcePolicyResponse) => void): Request; /** * Puts the specified workflow run properties for the given workflow run. If a property already exists for the specified run, then it overrides the value otherwise adds the property to existing properties. */ putWorkflowRunProperties(params: Glue.Types.PutWorkflowRunPropertiesRequest, callback?: (err: AWSError, data: Glue.Types.PutWorkflowRunPropertiesResponse) => void): Request; /** * Puts the specified workflow run properties for the given workflow run. If a property already exists for the specified run, then it overrides the value otherwise adds the property to existing properties. */ putWorkflowRunProperties(callback?: (err: AWSError, data: Glue.Types.PutWorkflowRunPropertiesResponse) => void): Request; /** * Resets a bookmark entry. */ resetJobBookmark(params: Glue.Types.ResetJobBookmarkRequest, callback?: (err: AWSError, data: Glue.Types.ResetJobBookmarkResponse) => void): Request; /** * Resets a bookmark entry. */ resetJobBookmark(callback?: (err: AWSError, data: Glue.Types.ResetJobBookmarkResponse) => void): Request; /** * Searches a set of tables based on properties in the table metadata as well as on the parent database. You can search against text or filter conditions. You can only get tables that you have access to based on the security policies defined in Lake Formation. You need at least a read-only access to the table for it to be returned. If you do not have access to all the columns in the table, these columns will not be searched against when returning the list of tables back to you. If you have access to the columns but not the data in the columns, those columns and the associated metadata for those columns will be included in the search. */ searchTables(params: Glue.Types.SearchTablesRequest, callback?: (err: AWSError, data: Glue.Types.SearchTablesResponse) => void): Request; /** * Searches a set of tables based on properties in the table metadata as well as on the parent database. You can search against text or filter conditions. You can only get tables that you have access to based on the security policies defined in Lake Formation. You need at least a read-only access to the table for it to be returned. If you do not have access to all the columns in the table, these columns will not be searched against when returning the list of tables back to you. If you have access to the columns but not the data in the columns, those columns and the associated metadata for those columns will be included in the search. */ searchTables(callback?: (err: AWSError, data: Glue.Types.SearchTablesResponse) => void): Request; /** * Starts a crawl using the specified crawler, regardless of what is scheduled. If the crawler is already running, returns a CrawlerRunningException. */ startCrawler(params: Glue.Types.StartCrawlerRequest, callback?: (err: AWSError, data: Glue.Types.StartCrawlerResponse) => void): Request; /** * Starts a crawl using the specified crawler, regardless of what is scheduled. If the crawler is already running, returns a CrawlerRunningException. */ startCrawler(callback?: (err: AWSError, data: Glue.Types.StartCrawlerResponse) => void): Request; /** * Changes the schedule state of the specified crawler to SCHEDULED, unless the crawler is already running or the schedule state is already SCHEDULED. */ startCrawlerSchedule(params: Glue.Types.StartCrawlerScheduleRequest, callback?: (err: AWSError, data: Glue.Types.StartCrawlerScheduleResponse) => void): Request; /** * Changes the schedule state of the specified crawler to SCHEDULED, unless the crawler is already running or the schedule state is already SCHEDULED. */ startCrawlerSchedule(callback?: (err: AWSError, data: Glue.Types.StartCrawlerScheduleResponse) => void): Request; /** * Begins an asynchronous task to export all labeled data for a particular transform. This task is the only label-related API call that is not part of the typical active learning workflow. You typically use StartExportLabelsTaskRun when you want to work with all of your existing labels at the same time, such as when you want to remove or change labels that were previously submitted as truth. This API operation accepts the TransformId whose labels you want to export and an Amazon Simple Storage Service (Amazon S3) path to export the labels to. The operation returns a TaskRunId. You can check on the status of your task run by calling the GetMLTaskRun API. */ startExportLabelsTaskRun(params: Glue.Types.StartExportLabelsTaskRunRequest, callback?: (err: AWSError, data: Glue.Types.StartExportLabelsTaskRunResponse) => void): Request; /** * Begins an asynchronous task to export all labeled data for a particular transform. This task is the only label-related API call that is not part of the typical active learning workflow. You typically use StartExportLabelsTaskRun when you want to work with all of your existing labels at the same time, such as when you want to remove or change labels that were previously submitted as truth. This API operation accepts the TransformId whose labels you want to export and an Amazon Simple Storage Service (Amazon S3) path to export the labels to. The operation returns a TaskRunId. You can check on the status of your task run by calling the GetMLTaskRun API. */ startExportLabelsTaskRun(callback?: (err: AWSError, data: Glue.Types.StartExportLabelsTaskRunResponse) => void): Request; /** * Enables you to provide additional labels (examples of truth) to be used to teach the machine learning transform and improve its quality. This API operation is generally used as part of the active learning workflow that starts with the StartMLLabelingSetGenerationTaskRun call and that ultimately results in improving the quality of your machine learning transform. After the StartMLLabelingSetGenerationTaskRun finishes, AWS Glue machine learning will have generated a series of questions for humans to answer. (Answering these questions is often called 'labeling' in the machine learning workflows). In the case of the FindMatches transform, these questions are of the form, “What is the correct way to group these rows together into groups composed entirely of matching records?” After the labeling process is finished, users upload their answers/labels with a call to StartImportLabelsTaskRun. After StartImportLabelsTaskRun finishes, all future runs of the machine learning transform use the new and improved labels and perform a higher-quality transformation. By default, StartMLLabelingSetGenerationTaskRun continually learns from and combines all labels that you upload unless you set Replace to true. If you set Replace to true, StartImportLabelsTaskRun deletes and forgets all previously uploaded labels and learns only from the exact set that you upload. Replacing labels can be helpful if you realize that you previously uploaded incorrect labels, and you believe that they are having a negative effect on your transform quality. You can check on the status of your task run by calling the GetMLTaskRun operation. */ startImportLabelsTaskRun(params: Glue.Types.StartImportLabelsTaskRunRequest, callback?: (err: AWSError, data: Glue.Types.StartImportLabelsTaskRunResponse) => void): Request; /** * Enables you to provide additional labels (examples of truth) to be used to teach the machine learning transform and improve its quality. This API operation is generally used as part of the active learning workflow that starts with the StartMLLabelingSetGenerationTaskRun call and that ultimately results in improving the quality of your machine learning transform. After the StartMLLabelingSetGenerationTaskRun finishes, AWS Glue machine learning will have generated a series of questions for humans to answer. (Answering these questions is often called 'labeling' in the machine learning workflows). In the case of the FindMatches transform, these questions are of the form, “What is the correct way to group these rows together into groups composed entirely of matching records?” After the labeling process is finished, users upload their answers/labels with a call to StartImportLabelsTaskRun. After StartImportLabelsTaskRun finishes, all future runs of the machine learning transform use the new and improved labels and perform a higher-quality transformation. By default, StartMLLabelingSetGenerationTaskRun continually learns from and combines all labels that you upload unless you set Replace to true. If you set Replace to true, StartImportLabelsTaskRun deletes and forgets all previously uploaded labels and learns only from the exact set that you upload. Replacing labels can be helpful if you realize that you previously uploaded incorrect labels, and you believe that they are having a negative effect on your transform quality. You can check on the status of your task run by calling the GetMLTaskRun operation. */ startImportLabelsTaskRun(callback?: (err: AWSError, data: Glue.Types.StartImportLabelsTaskRunResponse) => void): Request; /** * Starts a job run using a job definition. */ startJobRun(params: Glue.Types.StartJobRunRequest, callback?: (err: AWSError, data: Glue.Types.StartJobRunResponse) => void): Request; /** * Starts a job run using a job definition. */ startJobRun(callback?: (err: AWSError, data: Glue.Types.StartJobRunResponse) => void): Request; /** * Starts a task to estimate the quality of the transform. When you provide label sets as examples of truth, AWS Glue machine learning uses some of those examples to learn from them. The rest of the labels are used as a test to estimate quality. Returns a unique identifier for the run. You can call GetMLTaskRun to get more information about the stats of the EvaluationTaskRun. */ startMLEvaluationTaskRun(params: Glue.Types.StartMLEvaluationTaskRunRequest, callback?: (err: AWSError, data: Glue.Types.StartMLEvaluationTaskRunResponse) => void): Request; /** * Starts a task to estimate the quality of the transform. When you provide label sets as examples of truth, AWS Glue machine learning uses some of those examples to learn from them. The rest of the labels are used as a test to estimate quality. Returns a unique identifier for the run. You can call GetMLTaskRun to get more information about the stats of the EvaluationTaskRun. */ startMLEvaluationTaskRun(callback?: (err: AWSError, data: Glue.Types.StartMLEvaluationTaskRunResponse) => void): Request; /** * Starts the active learning workflow for your machine learning transform to improve the transform's quality by generating label sets and adding labels. When the StartMLLabelingSetGenerationTaskRun finishes, AWS Glue will have generated a "labeling set" or a set of questions for humans to answer. In the case of the FindMatches transform, these questions are of the form, “What is the correct way to group these rows together into groups composed entirely of matching records?” After the labeling process is finished, you can upload your labels with a call to StartImportLabelsTaskRun. After StartImportLabelsTaskRun finishes, all future runs of the machine learning transform will use the new and improved labels and perform a higher-quality transformation. */ startMLLabelingSetGenerationTaskRun(params: Glue.Types.StartMLLabelingSetGenerationTaskRunRequest, callback?: (err: AWSError, data: Glue.Types.StartMLLabelingSetGenerationTaskRunResponse) => void): Request; /** * Starts the active learning workflow for your machine learning transform to improve the transform's quality by generating label sets and adding labels. When the StartMLLabelingSetGenerationTaskRun finishes, AWS Glue will have generated a "labeling set" or a set of questions for humans to answer. In the case of the FindMatches transform, these questions are of the form, “What is the correct way to group these rows together into groups composed entirely of matching records?” After the labeling process is finished, you can upload your labels with a call to StartImportLabelsTaskRun. After StartImportLabelsTaskRun finishes, all future runs of the machine learning transform will use the new and improved labels and perform a higher-quality transformation. */ startMLLabelingSetGenerationTaskRun(callback?: (err: AWSError, data: Glue.Types.StartMLLabelingSetGenerationTaskRunResponse) => void): Request; /** * Starts an existing trigger. See Triggering Jobs for information about how different types of trigger are started. */ startTrigger(params: Glue.Types.StartTriggerRequest, callback?: (err: AWSError, data: Glue.Types.StartTriggerResponse) => void): Request; /** * Starts an existing trigger. See Triggering Jobs for information about how different types of trigger are started. */ startTrigger(callback?: (err: AWSError, data: Glue.Types.StartTriggerResponse) => void): Request; /** * Starts a new run of the specified workflow. */ startWorkflowRun(params: Glue.Types.StartWorkflowRunRequest, callback?: (err: AWSError, data: Glue.Types.StartWorkflowRunResponse) => void): Request; /** * Starts a new run of the specified workflow. */ startWorkflowRun(callback?: (err: AWSError, data: Glue.Types.StartWorkflowRunResponse) => void): Request; /** * If the specified crawler is running, stops the crawl. */ stopCrawler(params: Glue.Types.StopCrawlerRequest, callback?: (err: AWSError, data: Glue.Types.StopCrawlerResponse) => void): Request; /** * If the specified crawler is running, stops the crawl. */ stopCrawler(callback?: (err: AWSError, data: Glue.Types.StopCrawlerResponse) => void): Request; /** * Sets the schedule state of the specified crawler to NOT_SCHEDULED, but does not stop the crawler if it is already running. */ stopCrawlerSchedule(params: Glue.Types.StopCrawlerScheduleRequest, callback?: (err: AWSError, data: Glue.Types.StopCrawlerScheduleResponse) => void): Request; /** * Sets the schedule state of the specified crawler to NOT_SCHEDULED, but does not stop the crawler if it is already running. */ stopCrawlerSchedule(callback?: (err: AWSError, data: Glue.Types.StopCrawlerScheduleResponse) => void): Request; /** * Stops a specified trigger. */ stopTrigger(params: Glue.Types.StopTriggerRequest, callback?: (err: AWSError, data: Glue.Types.StopTriggerResponse) => void): Request; /** * Stops a specified trigger. */ stopTrigger(callback?: (err: AWSError, data: Glue.Types.StopTriggerResponse) => void): Request; /** * Adds tags to a resource. A tag is a label you can assign to an AWS resource. In AWS Glue, you can tag only certain resources. For information about what resources you can tag, see AWS Tags in AWS Glue. */ tagResource(params: Glue.Types.TagResourceRequest, callback?: (err: AWSError, data: Glue.Types.TagResourceResponse) => void): Request; /** * Adds tags to a resource. A tag is a label you can assign to an AWS resource. In AWS Glue, you can tag only certain resources. For information about what resources you can tag, see AWS Tags in AWS Glue. */ tagResource(callback?: (err: AWSError, data: Glue.Types.TagResourceResponse) => void): Request; /** * Removes tags from a resource. */ untagResource(params: Glue.Types.UntagResourceRequest, callback?: (err: AWSError, data: Glue.Types.UntagResourceResponse) => void): Request; /** * Removes tags from a resource. */ untagResource(callback?: (err: AWSError, data: Glue.Types.UntagResourceResponse) => void): Request; /** * Modifies an existing classifier (a GrokClassifier, an XMLClassifier, a JsonClassifier, or a CsvClassifier, depending on which field is present). */ updateClassifier(params: Glue.Types.UpdateClassifierRequest, callback?: (err: AWSError, data: Glue.Types.UpdateClassifierResponse) => void): Request; /** * Modifies an existing classifier (a GrokClassifier, an XMLClassifier, a JsonClassifier, or a CsvClassifier, depending on which field is present). */ updateClassifier(callback?: (err: AWSError, data: Glue.Types.UpdateClassifierResponse) => void): Request; /** * Updates a connection definition in the Data Catalog. */ updateConnection(params: Glue.Types.UpdateConnectionRequest, callback?: (err: AWSError, data: Glue.Types.UpdateConnectionResponse) => void): Request; /** * Updates a connection definition in the Data Catalog. */ updateConnection(callback?: (err: AWSError, data: Glue.Types.UpdateConnectionResponse) => void): Request; /** * Updates a crawler. If a crawler is running, you must stop it using StopCrawler before updating it. */ updateCrawler(params: Glue.Types.UpdateCrawlerRequest, callback?: (err: AWSError, data: Glue.Types.UpdateCrawlerResponse) => void): Request; /** * Updates a crawler. If a crawler is running, you must stop it using StopCrawler before updating it. */ updateCrawler(callback?: (err: AWSError, data: Glue.Types.UpdateCrawlerResponse) => void): Request; /** * Updates the schedule of a crawler using a cron expression. */ updateCrawlerSchedule(params: Glue.Types.UpdateCrawlerScheduleRequest, callback?: (err: AWSError, data: Glue.Types.UpdateCrawlerScheduleResponse) => void): Request; /** * Updates the schedule of a crawler using a cron expression. */ updateCrawlerSchedule(callback?: (err: AWSError, data: Glue.Types.UpdateCrawlerScheduleResponse) => void): Request; /** * Updates an existing database definition in a Data Catalog. */ updateDatabase(params: Glue.Types.UpdateDatabaseRequest, callback?: (err: AWSError, data: Glue.Types.UpdateDatabaseResponse) => void): Request; /** * Updates an existing database definition in a Data Catalog. */ updateDatabase(callback?: (err: AWSError, data: Glue.Types.UpdateDatabaseResponse) => void): Request; /** * Updates a specified development endpoint. */ updateDevEndpoint(params: Glue.Types.UpdateDevEndpointRequest, callback?: (err: AWSError, data: Glue.Types.UpdateDevEndpointResponse) => void): Request; /** * Updates a specified development endpoint. */ updateDevEndpoint(callback?: (err: AWSError, data: Glue.Types.UpdateDevEndpointResponse) => void): Request; /** * Updates an existing job definition. */ updateJob(params: Glue.Types.UpdateJobRequest, callback?: (err: AWSError, data: Glue.Types.UpdateJobResponse) => void): Request; /** * Updates an existing job definition. */ updateJob(callback?: (err: AWSError, data: Glue.Types.UpdateJobResponse) => void): Request; /** * Updates an existing machine learning transform. Call this operation to tune the algorithm parameters to achieve better results. After calling this operation, you can call the StartMLEvaluationTaskRun operation to assess how well your new parameters achieved your goals (such as improving the quality of your machine learning transform, or making it more cost-effective). */ updateMLTransform(params: Glue.Types.UpdateMLTransformRequest, callback?: (err: AWSError, data: Glue.Types.UpdateMLTransformResponse) => void): Request; /** * Updates an existing machine learning transform. Call this operation to tune the algorithm parameters to achieve better results. After calling this operation, you can call the StartMLEvaluationTaskRun operation to assess how well your new parameters achieved your goals (such as improving the quality of your machine learning transform, or making it more cost-effective). */ updateMLTransform(callback?: (err: AWSError, data: Glue.Types.UpdateMLTransformResponse) => void): Request; /** * Updates a partition. */ updatePartition(params: Glue.Types.UpdatePartitionRequest, callback?: (err: AWSError, data: Glue.Types.UpdatePartitionResponse) => void): Request; /** * Updates a partition. */ updatePartition(callback?: (err: AWSError, data: Glue.Types.UpdatePartitionResponse) => void): Request; /** * Updates a metadata table in the Data Catalog. */ updateTable(params: Glue.Types.UpdateTableRequest, callback?: (err: AWSError, data: Glue.Types.UpdateTableResponse) => void): Request; /** * Updates a metadata table in the Data Catalog. */ updateTable(callback?: (err: AWSError, data: Glue.Types.UpdateTableResponse) => void): Request; /** * Updates a trigger definition. */ updateTrigger(params: Glue.Types.UpdateTriggerRequest, callback?: (err: AWSError, data: Glue.Types.UpdateTriggerResponse) => void): Request; /** * Updates a trigger definition. */ updateTrigger(callback?: (err: AWSError, data: Glue.Types.UpdateTriggerResponse) => void): Request; /** * Updates an existing function definition in the Data Catalog. */ updateUserDefinedFunction(params: Glue.Types.UpdateUserDefinedFunctionRequest, callback?: (err: AWSError, data: Glue.Types.UpdateUserDefinedFunctionResponse) => void): Request; /** * Updates an existing function definition in the Data Catalog. */ updateUserDefinedFunction(callback?: (err: AWSError, data: Glue.Types.UpdateUserDefinedFunctionResponse) => void): Request; /** * Updates an existing workflow. */ updateWorkflow(params: Glue.Types.UpdateWorkflowRequest, callback?: (err: AWSError, data: Glue.Types.UpdateWorkflowResponse) => void): Request; /** * Updates an existing workflow. */ updateWorkflow(callback?: (err: AWSError, data: Glue.Types.UpdateWorkflowResponse) => void): Request; } declare namespace Glue { export interface Action { /** * The name of a job to be executed. */ JobName?: NameString; /** * The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide. */ Arguments?: GenericMap; /** * The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job. */ Timeout?: Timeout; /** * The name of the SecurityConfiguration structure to be used with this action. */ SecurityConfiguration?: NameString; /** * Specifies configuration properties of a job run notification. */ NotificationProperty?: NotificationProperty; /** * The name of the crawler to be used with this action. */ CrawlerName?: NameString; } export type ActionList = Action[]; export type AttemptCount = number; export interface BatchCreatePartitionRequest { /** * The ID of the catalog in which the partition is to be created. Currently, this should be the AWS account ID. */ CatalogId?: CatalogIdString; /** * The name of the metadata database in which the partition is to be created. */ DatabaseName: NameString; /** * The name of the metadata table in which the partition is to be created. */ TableName: NameString; /** * A list of PartitionInput structures that define the partitions to be created. */ PartitionInputList: PartitionInputList; } export interface BatchCreatePartitionResponse { /** * The errors encountered when trying to create the requested partitions. */ Errors?: PartitionErrors; } export interface BatchDeleteConnectionRequest { /** * The ID of the Data Catalog in which the connections reside. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * A list of names of the connections to delete. */ ConnectionNameList: DeleteConnectionNameList; } export interface BatchDeleteConnectionResponse { /** * A list of names of the connection definitions that were successfully deleted. */ Succeeded?: NameStringList; /** * A map of the names of connections that were not successfully deleted to error details. */ Errors?: ErrorByName; } export interface BatchDeletePartitionRequest { /** * The ID of the Data Catalog where the partition to be deleted resides. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the catalog database in which the table in question resides. */ DatabaseName: NameString; /** * The name of the table that contains the partitions to be deleted. */ TableName: NameString; /** * A list of PartitionInput structures that define the partitions to be deleted. */ PartitionsToDelete: BatchDeletePartitionValueList; } export interface BatchDeletePartitionResponse { /** * The errors encountered when trying to delete the requested partitions. */ Errors?: PartitionErrors; } export type BatchDeletePartitionValueList = PartitionValueList[]; export type BatchDeleteTableNameList = NameString[]; export interface BatchDeleteTableRequest { /** * The ID of the Data Catalog where the table resides. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the catalog database in which the tables to delete reside. For Hive compatibility, this name is entirely lowercase. */ DatabaseName: NameString; /** * A list of the table to delete. */ TablesToDelete: BatchDeleteTableNameList; } export interface BatchDeleteTableResponse { /** * A list of errors encountered in attempting to delete the specified tables. */ Errors?: TableErrors; } export type BatchDeleteTableVersionList = VersionString[]; export interface BatchDeleteTableVersionRequest { /** * The ID of the Data Catalog where the tables reside. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase. */ DatabaseName: NameString; /** * The name of the table. For Hive compatibility, this name is entirely lowercase. */ TableName: NameString; /** * A list of the IDs of versions to be deleted. A VersionId is a string representation of an integer. Each version is incremented by 1. */ VersionIds: BatchDeleteTableVersionList; } export interface BatchDeleteTableVersionResponse { /** * A list of errors encountered while trying to delete the specified table versions. */ Errors?: TableVersionErrors; } export interface BatchGetCrawlersRequest { /** * A list of crawler names, which might be the names returned from the ListCrawlers operation. */ CrawlerNames: CrawlerNameList; } export interface BatchGetCrawlersResponse { /** * A list of crawler definitions. */ Crawlers?: CrawlerList; /** * A list of names of crawlers that were not found. */ CrawlersNotFound?: CrawlerNameList; } export interface BatchGetDevEndpointsRequest { /** * The list of DevEndpoint names, which might be the names returned from the ListDevEndpoint operation. */ DevEndpointNames: DevEndpointNames; } export interface BatchGetDevEndpointsResponse { /** * A list of DevEndpoint definitions. */ DevEndpoints?: DevEndpointList; /** * A list of DevEndpoints not found. */ DevEndpointsNotFound?: DevEndpointNames; } export interface BatchGetJobsRequest { /** * A list of job names, which might be the names returned from the ListJobs operation. */ JobNames: JobNameList; } export interface BatchGetJobsResponse { /** * A list of job definitions. */ Jobs?: JobList; /** * A list of names of jobs not found. */ JobsNotFound?: JobNameList; } export interface BatchGetPartitionRequest { /** * The ID of the Data Catalog where the partitions in question reside. If none is supplied, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the catalog database where the partitions reside. */ DatabaseName: NameString; /** * The name of the partitions' table. */ TableName: NameString; /** * A list of partition values identifying the partitions to retrieve. */ PartitionsToGet: BatchGetPartitionValueList; } export interface BatchGetPartitionResponse { /** * A list of the requested partitions. */ Partitions?: PartitionList; /** * A list of the partition values in the request for which partitions were not returned. */ UnprocessedKeys?: BatchGetPartitionValueList; } export type BatchGetPartitionValueList = PartitionValueList[]; export interface BatchGetTriggersRequest { /** * A list of trigger names, which may be the names returned from the ListTriggers operation. */ TriggerNames: TriggerNameList; } export interface BatchGetTriggersResponse { /** * A list of trigger definitions. */ Triggers?: TriggerList; /** * A list of names of triggers not found. */ TriggersNotFound?: TriggerNameList; } export interface BatchGetWorkflowsRequest { /** * A list of workflow names, which may be the names returned from the ListWorkflows operation. */ Names: WorkflowNames; /** * Specifies whether to include a graph when returning the workflow resource metadata. */ IncludeGraph?: NullableBoolean; } export interface BatchGetWorkflowsResponse { /** * A list of workflow resource metadata. */ Workflows?: Workflows; /** * A list of names of workflows not found. */ MissingWorkflows?: WorkflowNames; } export interface BatchStopJobRunError { /** * The name of the job definition that is used in the job run in question. */ JobName?: NameString; /** * The JobRunId of the job run in question. */ JobRunId?: IdString; /** * Specifies details about the error that was encountered. */ ErrorDetail?: ErrorDetail; } export type BatchStopJobRunErrorList = BatchStopJobRunError[]; export type BatchStopJobRunJobRunIdList = IdString[]; export interface BatchStopJobRunRequest { /** * The name of the job definition for which to stop job runs. */ JobName: NameString; /** * A list of the JobRunIds that should be stopped for that job definition. */ JobRunIds: BatchStopJobRunJobRunIdList; } export interface BatchStopJobRunResponse { /** * A list of the JobRuns that were successfully submitted for stopping. */ SuccessfulSubmissions?: BatchStopJobRunSuccessfulSubmissionList; /** * A list of the errors that were encountered in trying to stop JobRuns, including the JobRunId for which each error was encountered and details about the error. */ Errors?: BatchStopJobRunErrorList; } export interface BatchStopJobRunSuccessfulSubmission { /** * The name of the job definition used in the job run that was stopped. */ JobName?: NameString; /** * The JobRunId of the job run that was stopped. */ JobRunId?: IdString; } export type BatchStopJobRunSuccessfulSubmissionList = BatchStopJobRunSuccessfulSubmission[]; export type Boolean = boolean; export type BooleanNullable = boolean; export type BooleanValue = boolean; export type BoundedPartitionValueList = ValueString[]; export interface CancelMLTaskRunRequest { /** * The unique identifier of the machine learning transform. */ TransformId: HashString; /** * A unique identifier for the task run. */ TaskRunId: HashString; } export interface CancelMLTaskRunResponse { /** * The unique identifier of the machine learning transform. */ TransformId?: HashString; /** * The unique identifier for the task run. */ TaskRunId?: HashString; /** * The status for this run. */ Status?: TaskStatusType; } export type CatalogEncryptionMode = "DISABLED"|"SSE-KMS"|string; export type CatalogEntries = CatalogEntry[]; export interface CatalogEntry { /** * The database in which the table metadata resides. */ DatabaseName: NameString; /** * The name of the table in question. */ TableName: NameString; } export type CatalogIdString = string; export interface CatalogImportStatus { /** * True if the migration has completed, or False otherwise. */ ImportCompleted?: Boolean; /** * The time that the migration was started. */ ImportTime?: Timestamp; /** * The name of the person who initiated the migration. */ ImportedBy?: NameString; } export type CatalogTablesList = NameString[]; export interface CatalogTarget { /** * The name of the database to be synchronized. */ DatabaseName: NameString; /** * A list of the tables to be synchronized. */ Tables: CatalogTablesList; } export type CatalogTargetList = CatalogTarget[]; export type Classification = string; export interface Classifier { /** * A classifier that uses grok. */ GrokClassifier?: GrokClassifier; /** * A classifier for XML content. */ XMLClassifier?: XMLClassifier; /** * A classifier for JSON content. */ JsonClassifier?: JsonClassifier; /** * A classifier for comma-separated values (CSV). */ CsvClassifier?: CsvClassifier; } export type ClassifierList = Classifier[]; export type ClassifierNameList = NameString[]; export interface CloudWatchEncryption { /** * The encryption mode to use for CloudWatch data. */ CloudWatchEncryptionMode?: CloudWatchEncryptionMode; /** * The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data. */ KmsKeyArn?: KmsKeyArn; } export type CloudWatchEncryptionMode = "DISABLED"|"SSE-KMS"|string; export type CodeGenArgName = string; export type CodeGenArgValue = string; export interface CodeGenEdge { /** * The ID of the node at which the edge starts. */ Source: CodeGenIdentifier; /** * The ID of the node at which the edge ends. */ Target: CodeGenIdentifier; /** * The target of the edge. */ TargetParameter?: CodeGenArgName; } export type CodeGenIdentifier = string; export interface CodeGenNode { /** * A node identifier that is unique within the node's graph. */ Id: CodeGenIdentifier; /** * The type of node that this is. */ NodeType: CodeGenNodeType; /** * Properties of the node, in the form of name-value pairs. */ Args: CodeGenNodeArgs; /** * The line number of the node. */ LineNumber?: Integer; } export interface CodeGenNodeArg { /** * The name of the argument or property. */ Name: CodeGenArgName; /** * The value of the argument or property. */ Value: CodeGenArgValue; /** * True if the value is used as a parameter. */ Param?: Boolean; } export type CodeGenNodeArgs = CodeGenNodeArg[]; export type CodeGenNodeType = string; export interface Column { /** * The name of the Column. */ Name: NameString; /** * The data type of the Column. */ Type?: ColumnTypeString; /** * A free-form text comment. */ Comment?: CommentString; /** * These key-value pairs define properties associated with the column. */ Parameters?: ParametersMap; } export type ColumnList = Column[]; export type ColumnNameString = string; export type ColumnTypeString = string; export type ColumnValueStringList = ColumnValuesString[]; export type ColumnValuesString = string; export type CommentString = string; export type Comparator = "EQUALS"|"GREATER_THAN"|"LESS_THAN"|"GREATER_THAN_EQUALS"|"LESS_THAN_EQUALS"|string; export interface Condition { /** * A logical operator. */ LogicalOperator?: LogicalOperator; /** * The name of the job whose JobRuns this condition applies to, and on which this trigger waits. */ JobName?: NameString; /** * The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT, and FAILED. */ State?: JobRunState; /** * The name of the crawler to which this condition applies. */ CrawlerName?: NameString; /** * The state of the crawler to which this condition applies. */ CrawlState?: CrawlState; } export type ConditionList = Condition[]; export interface ConfusionMatrix { /** * The number of matches in the data that the transform correctly found, in the confusion matrix for your transform. */ NumTruePositives?: RecordsCount; /** * The number of nonmatches in the data that the transform incorrectly classified as a match, in the confusion matrix for your transform. */ NumFalsePositives?: RecordsCount; /** * The number of nonmatches in the data that the transform correctly rejected, in the confusion matrix for your transform. */ NumTrueNegatives?: RecordsCount; /** * The number of matches in the data that the transform didn't find, in the confusion matrix for your transform. */ NumFalseNegatives?: RecordsCount; } export interface Connection { /** * The name of the connection definition. */ Name?: NameString; /** * The description of the connection. */ Description?: DescriptionString; /** * The type of the connection. Currently, only JDBC is supported; SFTP is not supported. */ ConnectionType?: ConnectionType; /** * A list of criteria that can be used in selecting this connection. */ MatchCriteria?: MatchCriteria; /** * These key-value pairs define parameters for the connection: HOST - The host URI: either the fully qualified domain name (FQDN) or the IPv4 address of the database host. PORT - The port number, between 1024 and 65535, of the port on which the database host is listening for database connections. USER_NAME - The name under which to log in to the database. The value string for USER_NAME is "USERNAME". PASSWORD - A password, if one is used, for the user name. ENCRYPTED_PASSWORD - When you enable connection password protection by setting ConnectionPasswordEncryption in the Data Catalog encryption settings, this field stores the encrypted password. JDBC_DRIVER_JAR_URI - The Amazon Simple Storage Service (Amazon S3) path of the JAR file that contains the JDBC driver to use. JDBC_DRIVER_CLASS_NAME - The class name of the JDBC driver to use. JDBC_ENGINE - The name of the JDBC engine to use. JDBC_ENGINE_VERSION - The version of the JDBC engine to use. CONFIG_FILES - (Reserved for future use.) INSTANCE_ID - The instance ID to use. JDBC_CONNECTION_URL - The URL for the JDBC connection. JDBC_ENFORCE_SSL - A Boolean string (true, false) specifying whether Secure Sockets Layer (SSL) with hostname matching is enforced for the JDBC connection on the client. The default is false. CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's root certificate. AWS Glue uses this root certificate to validate the customer’s certificate when connecting to the customer database. AWS Glue only handles X.509 certificates. The certificate provided must be DER-encoded and supplied in Base64 encoding PEM format. SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is false. AWS Glue validates the Signature algorithm and Subject Public Key Algorithm for the customer certificate. The only permitted algorithms for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA. For the Subject Public Key Algorithm, the key length must be at least 2048. You can set the value of this property to true to skip AWS Glue’s validation of the customer certificate. CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is used for domain match or distinguished name match to prevent a man-in-the-middle attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN; in Microsoft SQL Server, this is used as the hostNameInCertificate. */ ConnectionProperties?: ConnectionProperties; /** * A map of physical connection requirements, such as virtual private cloud (VPC) and SecurityGroup, that are needed to make this connection successfully. */ PhysicalConnectionRequirements?: PhysicalConnectionRequirements; /** * The time that this connection definition was created. */ CreationTime?: Timestamp; /** * The last time that this connection definition was updated. */ LastUpdatedTime?: Timestamp; /** * The user, group, or role that last updated this connection definition. */ LastUpdatedBy?: NameString; } export interface ConnectionInput { /** * The name of the connection. */ Name: NameString; /** * The description of the connection. */ Description?: DescriptionString; /** * The type of the connection. Currently, only JDBC is supported; SFTP is not supported. */ ConnectionType: ConnectionType; /** * A list of criteria that can be used in selecting this connection. */ MatchCriteria?: MatchCriteria; /** * These key-value pairs define parameters for the connection. */ ConnectionProperties: ConnectionProperties; /** * A map of physical connection requirements, such as virtual private cloud (VPC) and SecurityGroup, that are needed to successfully make this connection. */ PhysicalConnectionRequirements?: PhysicalConnectionRequirements; } export type ConnectionList = Connection[]; export type ConnectionName = string; export interface ConnectionPasswordEncryption { /** * When the ReturnConnectionPasswordEncrypted flag is set to "true", passwords remain encrypted in the responses of GetConnection and GetConnections. This encryption takes effect independently from catalog encryption. */ ReturnConnectionPasswordEncrypted: Boolean; /** * An AWS KMS key that is used to encrypt the connection password. If connection password protection is enabled, the caller of CreateConnection and UpdateConnection needs at least kms:Encrypt permission on the specified AWS KMS key, to encrypt passwords before storing them in the Data Catalog. You can set the decrypt permission to enable or restrict access on the password key according to your security requirements. */ AwsKmsKeyId?: NameString; } export type ConnectionProperties = {[key: string]: ValueString}; export type ConnectionPropertyKey = "HOST"|"PORT"|"USERNAME"|"PASSWORD"|"ENCRYPTED_PASSWORD"|"JDBC_DRIVER_JAR_URI"|"JDBC_DRIVER_CLASS_NAME"|"JDBC_ENGINE"|"JDBC_ENGINE_VERSION"|"CONFIG_FILES"|"INSTANCE_ID"|"JDBC_CONNECTION_URL"|"JDBC_ENFORCE_SSL"|"CUSTOM_JDBC_CERT"|"SKIP_CUSTOM_JDBC_CERT_VALIDATION"|"CUSTOM_JDBC_CERT_STRING"|string; export type ConnectionType = "JDBC"|"SFTP"|string; export interface ConnectionsList { /** * A list of connections used by the job. */ Connections?: OrchestrationStringList; } export interface Crawl { /** * The state of the crawler. */ State?: CrawlState; /** * The date and time on which the crawl started. */ StartedOn?: TimestampValue; /** * The date and time on which the crawl completed. */ CompletedOn?: TimestampValue; /** * The error message associated with the crawl. */ ErrorMessage?: DescriptionString; /** * The log group associated with the crawl. */ LogGroup?: LogGroup; /** * The log stream associated with the crawl. */ LogStream?: LogStream; } export type CrawlList = Crawl[]; export type CrawlState = "RUNNING"|"SUCCEEDED"|"CANCELLED"|"FAILED"|string; export interface Crawler { /** * The name of the crawler. */ Name?: NameString; /** * The Amazon Resource Name (ARN) of an IAM role that's used to access customer resources, such as Amazon Simple Storage Service (Amazon S3) data. */ Role?: Role; /** * A collection of targets to crawl. */ Targets?: CrawlerTargets; /** * The name of the database in which the crawler's output is stored. */ DatabaseName?: DatabaseName; /** * A description of the crawler. */ Description?: DescriptionString; /** * A list of UTF-8 strings that specify the custom classifiers that are associated with the crawler. */ Classifiers?: ClassifierNameList; /** * The policy that specifies update and delete behaviors for the crawler. */ SchemaChangePolicy?: SchemaChangePolicy; /** * Indicates whether the crawler is running, or whether a run is pending. */ State?: CrawlerState; /** * The prefix added to the names of tables that are created. */ TablePrefix?: TablePrefix; /** * For scheduled crawlers, the schedule when the crawler runs. */ Schedule?: Schedule; /** * If the crawler is running, contains the total time elapsed since the last crawl began. */ CrawlElapsedTime?: MillisecondsCount; /** * The time that the crawler was created. */ CreationTime?: Timestamp; /** * The time that the crawler was last updated. */ LastUpdated?: Timestamp; /** * The status of the last crawl, and potentially error information if an error occurred. */ LastCrawl?: LastCrawlInfo; /** * The version of the crawler. */ Version?: VersionId; /** * Crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Configuring a Crawler. */ Configuration?: CrawlerConfiguration; /** * The name of the SecurityConfiguration structure to be used by this crawler. */ CrawlerSecurityConfiguration?: CrawlerSecurityConfiguration; } export type CrawlerConfiguration = string; export type CrawlerList = Crawler[]; export interface CrawlerMetrics { /** * The name of the crawler. */ CrawlerName?: NameString; /** * The estimated time left to complete a running crawl. */ TimeLeftSeconds?: NonNegativeDouble; /** * True if the crawler is still estimating how long it will take to complete this run. */ StillEstimating?: Boolean; /** * The duration of the crawler's most recent run, in seconds. */ LastRuntimeSeconds?: NonNegativeDouble; /** * The median duration of this crawler's runs, in seconds. */ MedianRuntimeSeconds?: NonNegativeDouble; /** * The number of tables created by this crawler. */ TablesCreated?: NonNegativeInteger; /** * The number of tables updated by this crawler. */ TablesUpdated?: NonNegativeInteger; /** * The number of tables deleted by this crawler. */ TablesDeleted?: NonNegativeInteger; } export type CrawlerMetricsList = CrawlerMetrics[]; export type CrawlerNameList = NameString[]; export interface CrawlerNodeDetails { /** * A list of crawls represented by the crawl node. */ Crawls?: CrawlList; } export type CrawlerSecurityConfiguration = string; export type CrawlerState = "READY"|"RUNNING"|"STOPPING"|string; export interface CrawlerTargets { /** * Specifies Amazon Simple Storage Service (Amazon S3) targets. */ S3Targets?: S3TargetList; /** * Specifies JDBC targets. */ JdbcTargets?: JdbcTargetList; /** * Specifies Amazon DynamoDB targets. */ DynamoDBTargets?: DynamoDBTargetList; /** * Specifies AWS Glue Data Catalog targets. */ CatalogTargets?: CatalogTargetList; } export interface CreateClassifierRequest { /** * A GrokClassifier object specifying the classifier to create. */ GrokClassifier?: CreateGrokClassifierRequest; /** * An XMLClassifier object specifying the classifier to create. */ XMLClassifier?: CreateXMLClassifierRequest; /** * A JsonClassifier object specifying the classifier to create. */ JsonClassifier?: CreateJsonClassifierRequest; /** * A CsvClassifier object specifying the classifier to create. */ CsvClassifier?: CreateCsvClassifierRequest; } export interface CreateClassifierResponse { } export interface CreateConnectionRequest { /** * The ID of the Data Catalog in which to create the connection. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * A ConnectionInput object defining the connection to create. */ ConnectionInput: ConnectionInput; } export interface CreateConnectionResponse { } export interface CreateCrawlerRequest { /** * Name of the new crawler. */ Name: NameString; /** * The IAM role or Amazon Resource Name (ARN) of an IAM role used by the new crawler to access customer resources. */ Role: Role; /** * The AWS Glue database where results are written, such as: arn:aws:daylight:us-east-1::database/sometable/*. */ DatabaseName?: DatabaseName; /** * A description of the new crawler. */ Description?: DescriptionString; /** * A list of collection of targets to crawl. */ Targets: CrawlerTargets; /** * A cron expression used to specify the schedule. For more information, see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, specify cron(15 12 * * ? *). */ Schedule?: CronExpression; /** * A list of custom classifiers that the user has registered. By default, all built-in classifiers are included in a crawl, but these custom classifiers always override the default classifiers for a given classification. */ Classifiers?: ClassifierNameList; /** * The table prefix used for catalog tables that are created. */ TablePrefix?: TablePrefix; /** * The policy for the crawler's update and deletion behavior. */ SchemaChangePolicy?: SchemaChangePolicy; /** * The crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Configuring a Crawler. */ Configuration?: CrawlerConfiguration; /** * The name of the SecurityConfiguration structure to be used by this crawler. */ CrawlerSecurityConfiguration?: CrawlerSecurityConfiguration; /** * The tags to use with this crawler request. You can use tags to limit access to the crawler. For more information, see AWS Tags in AWS Glue. */ Tags?: TagsMap; } export interface CreateCrawlerResponse { } export interface CreateCsvClassifierRequest { /** * The name of the classifier. */ Name: NameString; /** * A custom symbol to denote what separates each column entry in the row. */ Delimiter?: CsvColumnDelimiter; /** * A custom symbol to denote what combines content into a single column value. Must be different from the column delimiter. */ QuoteSymbol?: CsvQuoteSymbol; /** * Indicates whether the CSV file contains a header. */ ContainsHeader?: CsvHeaderOption; /** * A list of strings representing column names. */ Header?: CsvHeader; /** * Specifies not to trim values before identifying the type of column values. The default value is true. */ DisableValueTrimming?: NullableBoolean; /** * Enables the processing of files that contain only one column. */ AllowSingleColumn?: NullableBoolean; } export interface CreateDatabaseRequest { /** * The ID of the Data Catalog in which to create the database. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The metadata for the database. */ DatabaseInput: DatabaseInput; } export interface CreateDatabaseResponse { } export interface CreateDevEndpointRequest { /** * The name to be assigned to the new DevEndpoint. */ EndpointName: GenericString; /** * The IAM role for the DevEndpoint. */ RoleArn: RoleArn; /** * Security group IDs for the security groups to be used by the new DevEndpoint. */ SecurityGroupIds?: StringList; /** * The subnet ID for the new DevEndpoint to use. */ SubnetId?: GenericString; /** * The public key to be used by this DevEndpoint for authentication. This attribute is provided for backward compatibility because the recommended attribute to use is public keys. */ PublicKey?: GenericString; /** * A list of public keys to be used by the development endpoints for authentication. The use of this attribute is preferred over a single public key because the public keys allow you to have a different private key per client. If you previously created an endpoint with a public key, you must remove that key to be able to set a list of public keys. Call the UpdateDevEndpoint API with the public key content in the deletePublicKeys attribute, and the list of new keys in the addPublicKeys attribute. */ PublicKeys?: PublicKeysList; /** * The number of AWS Glue Data Processing Units (DPUs) to allocate to this DevEndpoint. */ NumberOfNodes?: IntegerValue; /** * The type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X, or G.2X. For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. Known issue: when a development endpoint is created with the G.2X WorkerType configuration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB disk. */ WorkerType?: WorkerType; /** * Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints. For more information about the available AWS Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide. Development endpoints that are created without specifying a Glue version default to Glue 0.9. You can specify a version of Python support for development endpoints by using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint APIs. If no arguments are provided, the version defaults to Python 2. */ GlueVersion?: GlueVersionString; /** * The number of workers of a defined workerType that are allocated to the development endpoint. The maximum number of workers you can define are 299 for G.1X, and 149 for G.2X. */ NumberOfWorkers?: NullableInteger; /** * The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in your DevEndpoint. Multiple values must be complete paths separated by a comma. You can only use pure Python libraries with a DevEndpoint. Libraries that rely on C extensions, such as the pandas Python data analysis library, are not yet supported. */ ExtraPythonLibsS3Path?: GenericString; /** * The path to one or more Java .jar files in an S3 bucket that should be loaded in your DevEndpoint. */ ExtraJarsS3Path?: GenericString; /** * The name of the SecurityConfiguration structure to be used with this DevEndpoint. */ SecurityConfiguration?: NameString; /** * The tags to use with this DevEndpoint. You may use tags to limit access to the DevEndpoint. For more information about tags in AWS Glue, see AWS Tags in AWS Glue in the developer guide. */ Tags?: TagsMap; /** * A map of arguments used to configure the DevEndpoint. */ Arguments?: MapValue; } export interface CreateDevEndpointResponse { /** * The name assigned to the new DevEndpoint. */ EndpointName?: GenericString; /** * The current status of the new DevEndpoint. */ Status?: GenericString; /** * The security groups assigned to the new DevEndpoint. */ SecurityGroupIds?: StringList; /** * The subnet ID assigned to the new DevEndpoint. */ SubnetId?: GenericString; /** * The Amazon Resource Name (ARN) of the role assigned to the new DevEndpoint. */ RoleArn?: RoleArn; /** * The address of the YARN endpoint used by this DevEndpoint. */ YarnEndpointAddress?: GenericString; /** * The Apache Zeppelin port for the remote Apache Spark interpreter. */ ZeppelinRemoteSparkInterpreterPort?: IntegerValue; /** * The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint. */ NumberOfNodes?: IntegerValue; /** * The type of predefined worker that is allocated to the development endpoint. May be a value of Standard, G.1X, or G.2X. */ WorkerType?: WorkerType; /** * Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints. */ GlueVersion?: GlueVersionString; /** * The number of workers of a defined workerType that are allocated to the development endpoint. */ NumberOfWorkers?: NullableInteger; /** * The AWS Availability Zone where this DevEndpoint is located. */ AvailabilityZone?: GenericString; /** * The ID of the virtual private cloud (VPC) used by this DevEndpoint. */ VpcId?: GenericString; /** * The paths to one or more Python libraries in an S3 bucket that will be loaded in your DevEndpoint. */ ExtraPythonLibsS3Path?: GenericString; /** * Path to one or more Java .jar files in an S3 bucket that will be loaded in your DevEndpoint. */ ExtraJarsS3Path?: GenericString; /** * The reason for a current failure in this DevEndpoint. */ FailureReason?: GenericString; /** * The name of the SecurityConfiguration structure being used with this DevEndpoint. */ SecurityConfiguration?: NameString; /** * The point in time at which this DevEndpoint was created. */ CreatedTimestamp?: TimestampValue; /** * The map of arguments used to configure this DevEndpoint. Valid arguments are: "--enable-glue-datacatalog": "" "GLUE_PYTHON_VERSION": "3" "GLUE_PYTHON_VERSION": "2" You can specify a version of Python support for development endpoints by using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint APIs. If no arguments are provided, the version defaults to Python 2. */ Arguments?: MapValue; } export interface CreateGrokClassifierRequest { /** * An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on. */ Classification: Classification; /** * The name of the new classifier. */ Name: NameString; /** * The grok pattern used by this classifier. */ GrokPattern: GrokPattern; /** * Optional custom grok patterns used by this classifier. */ CustomPatterns?: CustomPatterns; } export interface CreateJobRequest { /** * The name you assign to this job definition. It must be unique in your account. */ Name: NameString; /** * Description of the job being defined. */ Description?: DescriptionString; /** * This field is reserved for future use. */ LogUri?: UriString; /** * The name or Amazon Resource Name (ARN) of the IAM role associated with this job. */ Role: RoleString; /** * An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job. */ ExecutionProperty?: ExecutionProperty; /** * The JobCommand that executes this job. */ Command: JobCommand; /** * The default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide. */ DefaultArguments?: GenericMap; /** * The connections used for this job. */ Connections?: ConnectionsList; /** * The maximum number of times to retry this job if it fails. */ MaxRetries?: MaxRetries; /** * This parameter is deprecated. Use MaxCapacity instead. The number of AWS Glue data processing units (DPUs) to allocate to this Job. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page. */ AllocatedCapacity?: IntegerValue; /** * The job timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). */ Timeout?: Timeout; /** * The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page. Do not set Max Capacity if using WorkerType and NumberOfWorkers. The value that can be allocated for MaxCapacity depends on whether you are running a Python shell job or an Apache Spark ETL job: When you specify a Python shell job (JobCommand.Name="pythonshell"), you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU. When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"), you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type cannot have a fractional DPU allocation. */ MaxCapacity?: NullableDouble; /** * The name of the SecurityConfiguration structure to be used with this job. */ SecurityConfiguration?: NameString; /** * The tags to use with this job. You may use tags to limit access to the job. For more information about tags in AWS Glue, see AWS Tags in AWS Glue in the developer guide. */ Tags?: TagsMap; /** * Specifies configuration properties of a job notification. */ NotificationProperty?: NotificationProperty; /** * Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark. For more information about the available AWS Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide. Jobs that are created without specifying a Glue version default to Glue 0.9. */ GlueVersion?: GlueVersionString; /** * The number of workers of a defined workerType that are allocated when a job runs. The maximum number of workers you can define are 299 for G.1X, and 149 for G.2X. */ NumberOfWorkers?: NullableInteger; /** * The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X. For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. */ WorkerType?: WorkerType; } export interface CreateJobResponse { /** * The unique name that was provided for this job definition. */ Name?: NameString; } export interface CreateJsonClassifierRequest { /** * The name of the classifier. */ Name: NameString; /** * A JsonPath string defining the JSON data for the classifier to classify. AWS Glue supports a subset of JsonPath, as described in Writing JsonPath Custom Classifiers. */ JsonPath: JsonPath; } export interface CreateMLTransformRequest { /** * The unique name that you give the transform when you create it. */ Name: NameString; /** * A description of the machine learning transform that is being defined. The default is an empty string. */ Description?: DescriptionString; /** * A list of AWS Glue table definitions used by the transform. */ InputRecordTables: GlueTables; /** * The algorithmic parameters that are specific to the transform type used. Conditionally dependent on the transform type. */ Parameters: TransformParameters; /** * The name or Amazon Resource Name (ARN) of the IAM role with the required permissions. Ensure that this role has permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, temporary directory, scripts, and any libraries that are used by the task run for this transform. */ Role: RoleString; /** * The number of AWS Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page. When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only. */ MaxCapacity?: NullableDouble; /** * The type of predefined worker that is allocated when this task runs. Accepts a value of Standard, G.1X, or G.2X. For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker. For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and a 128GB disk, and 1 executor per worker. */ WorkerType?: WorkerType; /** * The number of workers of a defined workerType that are allocated when this task runs. */ NumberOfWorkers?: NullableInteger; /** * The timeout of the task run for this transform in minutes. This is the maximum time that a task run for this transform can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). */ Timeout?: Timeout; /** * The maximum number of times to retry a task for this transform after a task run fails. */ MaxRetries?: NullableInteger; } export interface CreateMLTransformResponse { /** * A unique identifier that is generated for the transform. */ TransformId?: HashString; } export interface CreatePartitionRequest { /** * The AWS account ID of the catalog in which the partition is to be created. */ CatalogId?: CatalogIdString; /** * The name of the metadata database in which the partition is to be created. */ DatabaseName: NameString; /** * The name of the metadata table in which the partition is to be created. */ TableName: NameString; /** * A PartitionInput structure defining the partition to be created. */ PartitionInput: PartitionInput; } export interface CreatePartitionResponse { } export interface CreateScriptRequest { /** * A list of the nodes in the DAG. */ DagNodes?: DagNodes; /** * A list of the edges in the DAG. */ DagEdges?: DagEdges; /** * The programming language of the resulting code from the DAG. */ Language?: Language; } export interface CreateScriptResponse { /** * The Python script generated from the DAG. */ PythonScript?: PythonScript; /** * The Scala code generated from the DAG. */ ScalaCode?: ScalaCode; } export interface CreateSecurityConfigurationRequest { /** * The name for the new security configuration. */ Name: NameString; /** * The encryption configuration for the new security configuration. */ EncryptionConfiguration: EncryptionConfiguration; } export interface CreateSecurityConfigurationResponse { /** * The name assigned to the new security configuration. */ Name?: NameString; /** * The time at which the new security configuration was created. */ CreatedTimestamp?: TimestampValue; } export interface CreateTableRequest { /** * The ID of the Data Catalog in which to create the Table. If none is supplied, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The catalog database in which to create the new table. For Hive compatibility, this name is entirely lowercase. */ DatabaseName: NameString; /** * The TableInput object that defines the metadata table to create in the catalog. */ TableInput: TableInput; } export interface CreateTableResponse { } export interface CreateTriggerRequest { /** * The name of the trigger. */ Name: NameString; /** * The name of the workflow associated with the trigger. */ WorkflowName?: NameString; /** * The type of the new trigger. */ Type: TriggerType; /** * A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *). This field is required when the trigger type is SCHEDULED. */ Schedule?: GenericString; /** * A predicate to specify when the new trigger should fire. This field is required when the trigger type is CONDITIONAL. */ Predicate?: Predicate; /** * The actions initiated by this trigger when it fires. */ Actions: ActionList; /** * A description of the new trigger. */ Description?: DescriptionString; /** * Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers. */ StartOnCreation?: BooleanValue; /** * The tags to use with this trigger. You may use tags to limit access to the trigger. For more information about tags in AWS Glue, see AWS Tags in AWS Glue in the developer guide. */ Tags?: TagsMap; } export interface CreateTriggerResponse { /** * The name of the trigger. */ Name?: NameString; } export interface CreateUserDefinedFunctionRequest { /** * The ID of the Data Catalog in which to create the function. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the catalog database in which to create the function. */ DatabaseName: NameString; /** * A FunctionInput object that defines the function to create in the Data Catalog. */ FunctionInput: UserDefinedFunctionInput; } export interface CreateUserDefinedFunctionResponse { } export interface CreateWorkflowRequest { /** * The name to be assigned to the workflow. It should be unique within your account. */ Name: NameString; /** * A description of the workflow. */ Description?: GenericString; /** * A collection of properties to be used as part of each execution of the workflow. */ DefaultRunProperties?: WorkflowRunProperties; /** * The tags to be used with this workflow. */ Tags?: TagsMap; } export interface CreateWorkflowResponse { /** * The name of the workflow which was provided as part of the request. */ Name?: NameString; } export interface CreateXMLClassifierRequest { /** * An identifier of the data format that the classifier matches. */ Classification: Classification; /** * The name of the classifier. */ Name: NameString; /** * The XML tag designating the element that contains each record in an XML document being parsed. This can't identify a self-closing element (closed by />). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row> is okay, but <row item_a="A" item_b="B" /> is not). */ RowTag?: RowTag; } export type CronExpression = string; export interface CsvClassifier { /** * The name of the classifier. */ Name: NameString; /** * The time that this classifier was registered. */ CreationTime?: Timestamp; /** * The time that this classifier was last updated. */ LastUpdated?: Timestamp; /** * The version of this classifier. */ Version?: VersionId; /** * A custom symbol to denote what separates each column entry in the row. */ Delimiter?: CsvColumnDelimiter; /** * A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter. */ QuoteSymbol?: CsvQuoteSymbol; /** * Indicates whether the CSV file contains a header. */ ContainsHeader?: CsvHeaderOption; /** * A list of strings representing column names. */ Header?: CsvHeader; /** * Specifies not to trim values before identifying the type of column values. The default value is true. */ DisableValueTrimming?: NullableBoolean; /** * Enables the processing of files that contain only one column. */ AllowSingleColumn?: NullableBoolean; } export type CsvColumnDelimiter = string; export type CsvHeader = NameString[]; export type CsvHeaderOption = "UNKNOWN"|"PRESENT"|"ABSENT"|string; export type CsvQuoteSymbol = string; export type CustomPatterns = string; export type DagEdges = CodeGenEdge[]; export type DagNodes = CodeGenNode[]; export interface DataCatalogEncryptionSettings { /** * Specifies the encryption-at-rest configuration for the Data Catalog. */ EncryptionAtRest?: EncryptionAtRest; /** * When connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part of CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD field in the connection properties. You can enable catalog encryption or only password encryption. */ ConnectionPasswordEncryption?: ConnectionPasswordEncryption; } export interface DataLakePrincipal { /** * An identifier for the AWS Lake Formation principal. */ DataLakePrincipalIdentifier?: DataLakePrincipalString; } export type DataLakePrincipalString = string; export interface Database { /** * The name of the database. For Hive compatibility, this is folded to lowercase when it is stored. */ Name: NameString; /** * A description of the database. */ Description?: DescriptionString; /** * The location of the database (for example, an HDFS path). */ LocationUri?: URI; /** * These key-value pairs define parameters and properties of the database. */ Parameters?: ParametersMap; /** * The time at which the metadata database was created in the catalog. */ CreateTime?: Timestamp; /** * Creates a set of default permissions on the table for principals. */ CreateTableDefaultPermissions?: PrincipalPermissionsList; } export interface DatabaseInput { /** * The name of the database. For Hive compatibility, this is folded to lowercase when it is stored. */ Name: NameString; /** * A description of the database. */ Description?: DescriptionString; /** * The location of the database (for example, an HDFS path). */ LocationUri?: URI; /** * These key-value pairs define parameters and properties of the database. These key-value pairs define parameters and properties of the database. */ Parameters?: ParametersMap; /** * Creates a set of default permissions on the table for principals. */ CreateTableDefaultPermissions?: PrincipalPermissionsList; } export type DatabaseList = Database[]; export type DatabaseName = string; export type DeleteBehavior = "LOG"|"DELETE_FROM_DATABASE"|"DEPRECATE_IN_DATABASE"|string; export interface DeleteClassifierRequest { /** * Name of the classifier to remove. */ Name: NameString; } export interface DeleteClassifierResponse { } export type DeleteConnectionNameList = NameString[]; export interface DeleteConnectionRequest { /** * The ID of the Data Catalog in which the connection resides. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the connection to delete. */ ConnectionName: NameString; } export interface DeleteConnectionResponse { } export interface DeleteCrawlerRequest { /** * The name of the crawler to remove. */ Name: NameString; } export interface DeleteCrawlerResponse { } export interface DeleteDatabaseRequest { /** * The ID of the Data Catalog in which the database resides. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the database to delete. For Hive compatibility, this must be all lowercase. */ Name: NameString; } export interface DeleteDatabaseResponse { } export interface DeleteDevEndpointRequest { /** * The name of the DevEndpoint. */ EndpointName: GenericString; } export interface DeleteDevEndpointResponse { } export interface DeleteJobRequest { /** * The name of the job definition to delete. */ JobName: NameString; } export interface DeleteJobResponse { /** * The name of the job definition that was deleted. */ JobName?: NameString; } export interface DeleteMLTransformRequest { /** * The unique identifier of the transform to delete. */ TransformId: HashString; } export interface DeleteMLTransformResponse { /** * The unique identifier of the transform that was deleted. */ TransformId?: HashString; } export interface DeletePartitionRequest { /** * The ID of the Data Catalog where the partition to be deleted resides. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the catalog database in which the table in question resides. */ DatabaseName: NameString; /** * The name of the table that contains the partition to be deleted. */ TableName: NameString; /** * The values that define the partition. */ PartitionValues: ValueStringList; } export interface DeletePartitionResponse { } export interface DeleteResourcePolicyRequest { /** * The hash value returned when this policy was set. */ PolicyHashCondition?: HashString; } export interface DeleteResourcePolicyResponse { } export interface DeleteSecurityConfigurationRequest { /** * The name of the security configuration to delete. */ Name: NameString; } export interface DeleteSecurityConfigurationResponse { } export interface DeleteTableRequest { /** * The ID of the Data Catalog where the table resides. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase. */ DatabaseName: NameString; /** * The name of the table to be deleted. For Hive compatibility, this name is entirely lowercase. */ Name: NameString; } export interface DeleteTableResponse { } export interface DeleteTableVersionRequest { /** * The ID of the Data Catalog where the tables reside. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase. */ DatabaseName: NameString; /** * The name of the table. For Hive compatibility, this name is entirely lowercase. */ TableName: NameString; /** * The ID of the table version to be deleted. A VersionID is a string representation of an integer. Each version is incremented by 1. */ VersionId: VersionString; } export interface DeleteTableVersionResponse { } export interface DeleteTriggerRequest { /** * The name of the trigger to delete. */ Name: NameString; } export interface DeleteTriggerResponse { /** * The name of the trigger that was deleted. */ Name?: NameString; } export interface DeleteUserDefinedFunctionRequest { /** * The ID of the Data Catalog where the function to be deleted is located. If none is supplied, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the catalog database where the function is located. */ DatabaseName: NameString; /** * The name of the function definition to be deleted. */ FunctionName: NameString; } export interface DeleteUserDefinedFunctionResponse { } export interface DeleteWorkflowRequest { /** * Name of the workflow to be deleted. */ Name: NameString; } export interface DeleteWorkflowResponse { /** * Name of the workflow specified in input. */ Name?: NameString; } export type DescriptionString = string; export type DescriptionStringRemovable = string; export interface DevEndpoint { /** * The name of the DevEndpoint. */ EndpointName?: GenericString; /** * The Amazon Resource Name (ARN) of the IAM role used in this DevEndpoint. */ RoleArn?: RoleArn; /** * A list of security group identifiers used in this DevEndpoint. */ SecurityGroupIds?: StringList; /** * The subnet ID for this DevEndpoint. */ SubnetId?: GenericString; /** * The YARN endpoint address used by this DevEndpoint. */ YarnEndpointAddress?: GenericString; /** * A private IP address to access the DevEndpoint within a VPC if the DevEndpoint is created within one. The PrivateAddress field is present only when you create the DevEndpoint within your VPC. */ PrivateAddress?: GenericString; /** * The Apache Zeppelin port for the remote Apache Spark interpreter. */ ZeppelinRemoteSparkInterpreterPort?: IntegerValue; /** * The public IP address used by this DevEndpoint. The PublicAddress field is present only when you create a non-virtual private cloud (VPC) DevEndpoint. */ PublicAddress?: GenericString; /** * The current status of this DevEndpoint. */ Status?: GenericString; /** * The type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X, or G.2X. For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. Known issue: when a development endpoint is created with the G.2X WorkerType configuration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB disk. */ WorkerType?: WorkerType; /** * Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints. For more information about the available AWS Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide. Development endpoints that are created without specifying a Glue version default to Glue 0.9. You can specify a version of Python support for development endpoints by using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint APIs. If no arguments are provided, the version defaults to Python 2. */ GlueVersion?: GlueVersionString; /** * The number of workers of a defined workerType that are allocated to the development endpoint. The maximum number of workers you can define are 299 for G.1X, and 149 for G.2X. */ NumberOfWorkers?: NullableInteger; /** * The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint. */ NumberOfNodes?: IntegerValue; /** * The AWS Availability Zone where this DevEndpoint is located. */ AvailabilityZone?: GenericString; /** * The ID of the virtual private cloud (VPC) used by this DevEndpoint. */ VpcId?: GenericString; /** * The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in your DevEndpoint. Multiple values must be complete paths separated by a comma. You can only use pure Python libraries with a DevEndpoint. Libraries that rely on C extensions, such as the pandas Python data analysis library, are not currently supported. */ ExtraPythonLibsS3Path?: GenericString; /** * The path to one or more Java .jar files in an S3 bucket that should be loaded in your DevEndpoint. You can only use pure Java/Scala libraries with a DevEndpoint. */ ExtraJarsS3Path?: GenericString; /** * The reason for a current failure in this DevEndpoint. */ FailureReason?: GenericString; /** * The status of the last update. */ LastUpdateStatus?: GenericString; /** * The point in time at which this DevEndpoint was created. */ CreatedTimestamp?: TimestampValue; /** * The point in time at which this DevEndpoint was last modified. */ LastModifiedTimestamp?: TimestampValue; /** * The public key to be used by this DevEndpoint for authentication. This attribute is provided for backward compatibility because the recommended attribute to use is public keys. */ PublicKey?: GenericString; /** * A list of public keys to be used by the DevEndpoints for authentication. Using this attribute is preferred over a single public key because the public keys allow you to have a different private key per client. If you previously created an endpoint with a public key, you must remove that key to be able to set a list of public keys. Call the UpdateDevEndpoint API operation with the public key content in the deletePublicKeys attribute, and the list of new keys in the addPublicKeys attribute. */ PublicKeys?: PublicKeysList; /** * The name of the SecurityConfiguration structure to be used with this DevEndpoint. */ SecurityConfiguration?: NameString; /** * A map of arguments used to configure the DevEndpoint. Valid arguments are: "--enable-glue-datacatalog": "" "GLUE_PYTHON_VERSION": "3" "GLUE_PYTHON_VERSION": "2" You can specify a version of Python support for development endpoints by using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint APIs. If no arguments are provided, the version defaults to Python 2. */ Arguments?: MapValue; } export interface DevEndpointCustomLibraries { /** * The paths to one or more Python libraries in an Amazon Simple Storage Service (Amazon S3) bucket that should be loaded in your DevEndpoint. Multiple values must be complete paths separated by a comma. You can only use pure Python libraries with a DevEndpoint. Libraries that rely on C extensions, such as the pandas Python data analysis library, are not currently supported. */ ExtraPythonLibsS3Path?: GenericString; /** * The path to one or more Java .jar files in an S3 bucket that should be loaded in your DevEndpoint. You can only use pure Java/Scala libraries with a DevEndpoint. */ ExtraJarsS3Path?: GenericString; } export type DevEndpointList = DevEndpoint[]; export type DevEndpointNameList = NameString[]; export type DevEndpointNames = GenericString[]; export interface DynamoDBTarget { /** * The name of the DynamoDB table to crawl. */ Path?: Path; } export type DynamoDBTargetList = DynamoDBTarget[]; export interface Edge { /** * The unique of the node within the workflow where the edge starts. */ SourceId?: NameString; /** * The unique of the node within the workflow where the edge ends. */ DestinationId?: NameString; } export type EdgeList = Edge[]; export interface EncryptionAtRest { /** * The encryption-at-rest mode for encrypting Data Catalog data. */ CatalogEncryptionMode: CatalogEncryptionMode; /** * The ID of the AWS KMS key to use for encryption at rest. */ SseAwsKmsKeyId?: NameString; } export interface EncryptionConfiguration { /** * The encryption configuration for Amazon Simple Storage Service (Amazon S3) data. */ S3Encryption?: S3EncryptionList; /** * The encryption configuration for Amazon CloudWatch. */ CloudWatchEncryption?: CloudWatchEncryption; /** * The encryption configuration for job bookmarks. */ JobBookmarksEncryption?: JobBookmarksEncryption; } export type ErrorByName = {[key: string]: ErrorDetail}; export interface ErrorDetail { /** * The code associated with this error. */ ErrorCode?: NameString; /** * A message describing the error. */ ErrorMessage?: DescriptionString; } export type ErrorString = string; export interface EvaluationMetrics { /** * The type of machine learning transform. */ TransformType: TransformType; /** * The evaluation metrics for the find matches algorithm. */ FindMatchesMetrics?: FindMatchesMetrics; } export interface ExecutionProperty { /** * The maximum number of concurrent runs allowed for the job. The default is 1. An error is returned when this threshold is reached. The maximum value you can specify is controlled by a service limit. */ MaxConcurrentRuns?: MaxConcurrentRuns; } export type ExecutionTime = number; export type ExistCondition = "MUST_EXIST"|"NOT_EXIST"|"NONE"|string; export interface ExportLabelsTaskRunProperties { /** * The Amazon Simple Storage Service (Amazon S3) path where you will export the labels. */ OutputS3Path?: UriString; } export type FieldType = string; export type FilterString = string; export interface FindMatchesMetrics { /** * The area under the precision/recall curve (AUPRC) is a single number measuring the overall quality of the transform, that is independent of the choice made for precision vs. recall. Higher values indicate that you have a more attractive precision vs. recall tradeoff. For more information, see Precision and recall in Wikipedia. */ AreaUnderPRCurve?: GenericBoundedDouble; /** * The precision metric indicates when often your transform is correct when it predicts a match. Specifically, it measures how well the transform finds true positives from the total true positives possible. For more information, see Precision and recall in Wikipedia. */ Precision?: GenericBoundedDouble; /** * The recall metric indicates that for an actual match, how often your transform predicts the match. Specifically, it measures how well the transform finds true positives from the total records in the source data. For more information, see Precision and recall in Wikipedia. */ Recall?: GenericBoundedDouble; /** * The maximum F1 metric indicates the transform's accuracy between 0 and 1, where 1 is the best accuracy. For more information, see F1 score in Wikipedia. */ F1?: GenericBoundedDouble; /** * The confusion matrix shows you what your transform is predicting accurately and what types of errors it is making. For more information, see Confusion matrix in Wikipedia. */ ConfusionMatrix?: ConfusionMatrix; } export interface FindMatchesParameters { /** * The name of a column that uniquely identifies rows in the source table. Used to help identify matching records. */ PrimaryKeyColumnName?: ColumnNameString; /** * The value selected when tuning your transform for a balance between precision and recall. A value of 0.5 means no preference; a value of 1.0 means a bias purely for precision, and a value of 0.0 means a bias for recall. Because this is a tradeoff, choosing values close to 1.0 means very low recall, and choosing values close to 0.0 results in very low precision. The precision metric indicates how often your model is correct when it predicts a match. The recall metric indicates that for an actual match, how often your model predicts the match. */ PrecisionRecallTradeoff?: GenericBoundedDouble; /** * The value that is selected when tuning your transform for a balance between accuracy and cost. A value of 0.5 means that the system balances accuracy and cost concerns. A value of 1.0 means a bias purely for accuracy, which typically results in a higher cost, sometimes substantially higher. A value of 0.0 means a bias purely for cost, which results in a less accurate FindMatches transform, sometimes with unacceptable accuracy. Accuracy measures how well the transform finds true positives and true negatives. Increasing accuracy requires more machine resources and cost. But it also results in increased recall. Cost measures how many compute resources, and thus money, are consumed to run the transform. */ AccuracyCostTradeoff?: GenericBoundedDouble; /** * The value to switch on or off to force the output to match the provided labels from users. If the value is True, the find matches transform forces the output to match the provided labels. The results override the normal conflation results. If the value is False, the find matches transform does not ensure all the labels provided are respected, and the results rely on the trained model. Note that setting this value to true may increase the conflation execution time. */ EnforceProvidedLabels?: NullableBoolean; } export interface FindMatchesTaskRunProperties { /** * The job ID for the Find Matches task run. */ JobId?: HashString; /** * The name assigned to the job for the Find Matches task run. */ JobName?: NameString; /** * The job run ID for the Find Matches task run. */ JobRunId?: HashString; } export type FormatString = string; export type GenericBoundedDouble = number; export type GenericMap = {[key: string]: GenericString}; export type GenericString = string; export interface GetCatalogImportStatusRequest { /** * The ID of the catalog to migrate. Currently, this should be the AWS account ID. */ CatalogId?: CatalogIdString; } export interface GetCatalogImportStatusResponse { /** * The status of the specified catalog migration. */ ImportStatus?: CatalogImportStatus; } export interface GetClassifierRequest { /** * Name of the classifier to retrieve. */ Name: NameString; } export interface GetClassifierResponse { /** * The requested classifier. */ Classifier?: Classifier; } export interface GetClassifiersRequest { /** * The size of the list to return (optional). */ MaxResults?: PageSize; /** * An optional continuation token. */ NextToken?: Token; } export interface GetClassifiersResponse { /** * The requested list of classifier objects. */ Classifiers?: ClassifierList; /** * A continuation token. */ NextToken?: Token; } export interface GetConnectionRequest { /** * The ID of the Data Catalog in which the connection resides. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the connection definition to retrieve. */ Name: NameString; /** * Allows you to retrieve the connection metadata without returning the password. For instance, the AWS Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the AWS KMS key to decrypt the password, but it does have permission to access the rest of the connection properties. */ HidePassword?: Boolean; } export interface GetConnectionResponse { /** * The requested connection definition. */ Connection?: Connection; } export interface GetConnectionsFilter { /** * A criteria string that must match the criteria recorded in the connection definition for that connection definition to be returned. */ MatchCriteria?: MatchCriteria; /** * The type of connections to return. Currently, only JDBC is supported; SFTP is not supported. */ ConnectionType?: ConnectionType; } export interface GetConnectionsRequest { /** * The ID of the Data Catalog in which the connections reside. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * A filter that controls which connections are returned. */ Filter?: GetConnectionsFilter; /** * Allows you to retrieve the connection metadata without returning the password. For instance, the AWS Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the AWS KMS key to decrypt the password, but it does have permission to access the rest of the connection properties. */ HidePassword?: Boolean; /** * A continuation token, if this is a continuation call. */ NextToken?: Token; /** * The maximum number of connections to return in one response. */ MaxResults?: PageSize; } export interface GetConnectionsResponse { /** * A list of requested connection definitions. */ ConnectionList?: ConnectionList; /** * A continuation token, if the list of connections returned does not include the last of the filtered connections. */ NextToken?: Token; } export interface GetCrawlerMetricsRequest { /** * A list of the names of crawlers about which to retrieve metrics. */ CrawlerNameList?: CrawlerNameList; /** * The maximum size of a list to return. */ MaxResults?: PageSize; /** * A continuation token, if this is a continuation call. */ NextToken?: Token; } export interface GetCrawlerMetricsResponse { /** * A list of metrics for the specified crawler. */ CrawlerMetricsList?: CrawlerMetricsList; /** * A continuation token, if the returned list does not contain the last metric available. */ NextToken?: Token; } export interface GetCrawlerRequest { /** * The name of the crawler to retrieve metadata for. */ Name: NameString; } export interface GetCrawlerResponse { /** * The metadata for the specified crawler. */ Crawler?: Crawler; } export interface GetCrawlersRequest { /** * The number of crawlers to return on each call. */ MaxResults?: PageSize; /** * A continuation token, if this is a continuation request. */ NextToken?: Token; } export interface GetCrawlersResponse { /** * A list of crawler metadata. */ Crawlers?: CrawlerList; /** * A continuation token, if the returned list has not reached the end of those defined in this customer account. */ NextToken?: Token; } export interface GetDataCatalogEncryptionSettingsRequest { /** * The ID of the Data Catalog to retrieve the security configuration for. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; } export interface GetDataCatalogEncryptionSettingsResponse { /** * The requested security configuration. */ DataCatalogEncryptionSettings?: DataCatalogEncryptionSettings; } export interface GetDatabaseRequest { /** * The ID of the Data Catalog in which the database resides. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the database to retrieve. For Hive compatibility, this should be all lowercase. */ Name: NameString; } export interface GetDatabaseResponse { /** * The definition of the specified database in the Data Catalog. */ Database?: Database; } export interface GetDatabasesRequest { /** * The ID of the Data Catalog from which to retrieve Databases. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * A continuation token, if this is a continuation call. */ NextToken?: Token; /** * The maximum number of databases to return in one response. */ MaxResults?: PageSize; } export interface GetDatabasesResponse { /** * A list of Database objects from the specified catalog. */ DatabaseList: DatabaseList; /** * A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last. */ NextToken?: Token; } export interface GetDataflowGraphRequest { /** * The Python script to transform. */ PythonScript?: PythonScript; } export interface GetDataflowGraphResponse { /** * A list of the nodes in the resulting DAG. */ DagNodes?: DagNodes; /** * A list of the edges in the resulting DAG. */ DagEdges?: DagEdges; } export interface GetDevEndpointRequest { /** * Name of the DevEndpoint to retrieve information for. */ EndpointName: GenericString; } export interface GetDevEndpointResponse { /** * A DevEndpoint definition. */ DevEndpoint?: DevEndpoint; } export interface GetDevEndpointsRequest { /** * The maximum size of information to return. */ MaxResults?: PageSize; /** * A continuation token, if this is a continuation call. */ NextToken?: GenericString; } export interface GetDevEndpointsResponse { /** * A list of DevEndpoint definitions. */ DevEndpoints?: DevEndpointList; /** * A continuation token, if not all DevEndpoint definitions have yet been returned. */ NextToken?: GenericString; } export interface GetJobBookmarkRequest { /** * The name of the job in question. */ JobName: JobName; /** * The unique run identifier associated with this job run. */ RunId?: RunId; } export interface GetJobBookmarkResponse { /** * A structure that defines a point that a job can resume processing. */ JobBookmarkEntry?: JobBookmarkEntry; } export interface GetJobRequest { /** * The name of the job definition to retrieve. */ JobName: NameString; } export interface GetJobResponse { /** * The requested job definition. */ Job?: Job; } export interface GetJobRunRequest { /** * Name of the job definition being run. */ JobName: NameString; /** * The ID of the job run. */ RunId: IdString; /** * True if a list of predecessor runs should be returned. */ PredecessorsIncluded?: BooleanValue; } export interface GetJobRunResponse { /** * The requested job-run metadata. */ JobRun?: JobRun; } export interface GetJobRunsRequest { /** * The name of the job definition for which to retrieve all job runs. */ JobName: NameString; /** * A continuation token, if this is a continuation call. */ NextToken?: GenericString; /** * The maximum size of the response. */ MaxResults?: PageSize; } export interface GetJobRunsResponse { /** * A list of job-run metadata objects. */ JobRuns?: JobRunList; /** * A continuation token, if not all requested job runs have been returned. */ NextToken?: GenericString; } export interface GetJobsRequest { /** * A continuation token, if this is a continuation call. */ NextToken?: GenericString; /** * The maximum size of the response. */ MaxResults?: PageSize; } export interface GetJobsResponse { /** * A list of job definitions. */ Jobs?: JobList; /** * A continuation token, if not all job definitions have yet been returned. */ NextToken?: GenericString; } export interface GetMLTaskRunRequest { /** * The unique identifier of the machine learning transform. */ TransformId: HashString; /** * The unique identifier of the task run. */ TaskRunId: HashString; } export interface GetMLTaskRunResponse { /** * The unique identifier of the task run. */ TransformId?: HashString; /** * The unique run identifier associated with this run. */ TaskRunId?: HashString; /** * The status for this task run. */ Status?: TaskStatusType; /** * The names of the log groups that are associated with the task run. */ LogGroupName?: GenericString; /** * The list of properties that are associated with the task run. */ Properties?: TaskRunProperties; /** * The error strings that are associated with the task run. */ ErrorString?: GenericString; /** * The date and time when this task run started. */ StartedOn?: Timestamp; /** * The date and time when this task run was last modified. */ LastModifiedOn?: Timestamp; /** * The date and time when this task run was completed. */ CompletedOn?: Timestamp; /** * The amount of time (in seconds) that the task run consumed resources. */ ExecutionTime?: ExecutionTime; } export interface GetMLTaskRunsRequest { /** * The unique identifier of the machine learning transform. */ TransformId: HashString; /** * A token for pagination of the results. The default is empty. */ NextToken?: PaginationToken; /** * The maximum number of results to return. */ MaxResults?: PageSize; /** * The filter criteria, in the TaskRunFilterCriteria structure, for the task run. */ Filter?: TaskRunFilterCriteria; /** * The sorting criteria, in the TaskRunSortCriteria structure, for the task run. */ Sort?: TaskRunSortCriteria; } export interface GetMLTaskRunsResponse { /** * A list of task runs that are associated with the transform. */ TaskRuns?: TaskRunList; /** * A pagination token, if more results are available. */ NextToken?: PaginationToken; } export interface GetMLTransformRequest { /** * The unique identifier of the transform, generated at the time that the transform was created. */ TransformId: HashString; } export interface GetMLTransformResponse { /** * The unique identifier of the transform, generated at the time that the transform was created. */ TransformId?: HashString; /** * The unique name given to the transform when it was created. */ Name?: NameString; /** * A description of the transform. */ Description?: DescriptionString; /** * The last known status of the transform (to indicate whether it can be used or not). One of "NOT_READY", "READY", or "DELETING". */ Status?: TransformStatusType; /** * The date and time when the transform was created. */ CreatedOn?: Timestamp; /** * The date and time when the transform was last modified. */ LastModifiedOn?: Timestamp; /** * A list of AWS Glue table definitions used by the transform. */ InputRecordTables?: GlueTables; /** * The configuration parameters that are specific to the algorithm used. */ Parameters?: TransformParameters; /** * The latest evaluation metrics. */ EvaluationMetrics?: EvaluationMetrics; /** * The number of labels available for this transform. */ LabelCount?: LabelCount; /** * The Map<Column, Type> object that represents the schema that this transform accepts. Has an upper bound of 100 columns. */ Schema?: TransformSchema; /** * The name or Amazon Resource Name (ARN) of the IAM role with the required permissions. */ Role?: RoleString; /** * The number of AWS Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page. When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only. */ MaxCapacity?: NullableDouble; /** * The type of predefined worker that is allocated when this task runs. Accepts a value of Standard, G.1X, or G.2X. For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker. For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and a 128GB disk, and 1 executor per worker. */ WorkerType?: WorkerType; /** * The number of workers of a defined workerType that are allocated when this task runs. */ NumberOfWorkers?: NullableInteger; /** * The timeout for a task run for this transform in minutes. This is the maximum time that a task run for this transform can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). */ Timeout?: Timeout; /** * The maximum number of times to retry a task for this transform after a task run fails. */ MaxRetries?: NullableInteger; } export interface GetMLTransformsRequest { /** * A paginated token to offset the results. */ NextToken?: PaginationToken; /** * The maximum number of results to return. */ MaxResults?: PageSize; /** * The filter transformation criteria. */ Filter?: TransformFilterCriteria; /** * The sorting criteria. */ Sort?: TransformSortCriteria; } export interface GetMLTransformsResponse { /** * A list of machine learning transforms. */ Transforms: TransformList; /** * A pagination token, if more results are available. */ NextToken?: PaginationToken; } export interface GetMappingRequest { /** * Specifies the source table. */ Source: CatalogEntry; /** * A list of target tables. */ Sinks?: CatalogEntries; /** * Parameters for the mapping. */ Location?: Location; } export interface GetMappingResponse { /** * A list of mappings to the specified targets. */ Mapping: MappingList; } export interface GetPartitionRequest { /** * The ID of the Data Catalog where the partition in question resides. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the catalog database where the partition resides. */ DatabaseName: NameString; /** * The name of the partition's table. */ TableName: NameString; /** * The values that define the partition. */ PartitionValues: ValueStringList; } export interface GetPartitionResponse { /** * The requested information, in the form of a Partition object. */ Partition?: Partition; } export interface GetPartitionsRequest { /** * The ID of the Data Catalog where the partitions in question reside. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the catalog database where the partitions reside. */ DatabaseName: NameString; /** * The name of the partitions' table. */ TableName: NameString; /** * An expression that filters the partitions to be returned. The expression uses SQL syntax similar to the SQL WHERE filter clause. The SQL statement parser JSQLParser parses the expression. Operators: The following are the operators that you can use in the Expression API call: = Checks whether the values of the two operands are equal; if yes, then the condition becomes true. Example: Assume 'variable a' holds 10 and 'variable b' holds 20. (a = b) is not true. < > Checks whether the values of two operands are equal; if the values are not equal, then the condition becomes true. Example: (a < > b) is true. > Checks whether the value of the left operand is greater than the value of the right operand; if yes, then the condition becomes true. Example: (a > b) is not true. < Checks whether the value of the left operand is less than the value of the right operand; if yes, then the condition becomes true. Example: (a < b) is true. >= Checks whether the value of the left operand is greater than or equal to the value of the right operand; if yes, then the condition becomes true. Example: (a >= b) is not true. <= Checks whether the value of the left operand is less than or equal to the value of the right operand; if yes, then the condition becomes true. Example: (a <= b) is true. AND, OR, IN, BETWEEN, LIKE, NOT, IS NULL Logical operators. Supported Partition Key Types: The following are the supported partition keys. string date timestamp int bigint long tinyint smallint decimal If an invalid type is encountered, an exception is thrown. The following list shows the valid operators on each type. When you define a crawler, the partitionKey type is created as a STRING, to be compatible with the catalog partitions. Sample API Call: */ Expression?: PredicateString; /** * A continuation token, if this is not the first call to retrieve these partitions. */ NextToken?: Token; /** * The segment of the table's partitions to scan in this request. */ Segment?: Segment; /** * The maximum number of partitions to return in a single response. */ MaxResults?: PageSize; } export interface GetPartitionsResponse { /** * A list of requested partitions. */ Partitions?: PartitionList; /** * A continuation token, if the returned list of partitions does not include the last one. */ NextToken?: Token; } export interface GetPlanRequest { /** * The list of mappings from a source table to target tables. */ Mapping: MappingList; /** * The source table. */ Source: CatalogEntry; /** * The target tables. */ Sinks?: CatalogEntries; /** * The parameters for the mapping. */ Location?: Location; /** * The programming language of the code to perform the mapping. */ Language?: Language; } export interface GetPlanResponse { /** * A Python script to perform the mapping. */ PythonScript?: PythonScript; /** * The Scala code to perform the mapping. */ ScalaCode?: ScalaCode; } export interface GetResourcePolicyRequest { } export interface GetResourcePolicyResponse { /** * Contains the requested policy document, in JSON format. */ PolicyInJson?: PolicyJsonString; /** * Contains the hash value associated with this policy. */ PolicyHash?: HashString; /** * The date and time at which the policy was created. */ CreateTime?: Timestamp; /** * The date and time at which the policy was last updated. */ UpdateTime?: Timestamp; } export interface GetSecurityConfigurationRequest { /** * The name of the security configuration to retrieve. */ Name: NameString; } export interface GetSecurityConfigurationResponse { /** * The requested security configuration. */ SecurityConfiguration?: SecurityConfiguration; } export interface GetSecurityConfigurationsRequest { /** * The maximum number of results to return. */ MaxResults?: PageSize; /** * A continuation token, if this is a continuation call. */ NextToken?: GenericString; } export interface GetSecurityConfigurationsResponse { /** * A list of security configurations. */ SecurityConfigurations?: SecurityConfigurationList; /** * A continuation token, if there are more security configurations to return. */ NextToken?: GenericString; } export interface GetTableRequest { /** * The ID of the Data Catalog where the table resides. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase. */ DatabaseName: NameString; /** * The name of the table for which to retrieve the definition. For Hive compatibility, this name is entirely lowercase. */ Name: NameString; } export interface GetTableResponse { /** * The Table object that defines the specified table. */ Table?: Table; } export interface GetTableVersionRequest { /** * The ID of the Data Catalog where the tables reside. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase. */ DatabaseName: NameString; /** * The name of the table. For Hive compatibility, this name is entirely lowercase. */ TableName: NameString; /** * The ID value of the table version to be retrieved. A VersionID is a string representation of an integer. Each version is incremented by 1. */ VersionId?: VersionString; } export interface GetTableVersionResponse { /** * The requested table version. */ TableVersion?: TableVersion; } export type GetTableVersionsList = TableVersion[]; export interface GetTableVersionsRequest { /** * The ID of the Data Catalog where the tables reside. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase. */ DatabaseName: NameString; /** * The name of the table. For Hive compatibility, this name is entirely lowercase. */ TableName: NameString; /** * A continuation token, if this is not the first call. */ NextToken?: Token; /** * The maximum number of table versions to return in one response. */ MaxResults?: PageSize; } export interface GetTableVersionsResponse { /** * A list of strings identifying available versions of the specified table. */ TableVersions?: GetTableVersionsList; /** * A continuation token, if the list of available versions does not include the last one. */ NextToken?: Token; } export interface GetTablesRequest { /** * The ID of the Data Catalog where the tables reside. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The database in the catalog whose tables to list. For Hive compatibility, this name is entirely lowercase. */ DatabaseName: NameString; /** * A regular expression pattern. If present, only those tables whose names match the pattern are returned. */ Expression?: FilterString; /** * A continuation token, included if this is a continuation call. */ NextToken?: Token; /** * The maximum number of tables to return in a single response. */ MaxResults?: PageSize; } export interface GetTablesResponse { /** * A list of the requested Table objects. */ TableList?: TableList; /** * A continuation token, present if the current list segment is not the last. */ NextToken?: Token; } export interface GetTagsRequest { /** * The Amazon Resource Name (ARN) of the resource for which to retrieve tags. */ ResourceArn: GlueResourceArn; } export interface GetTagsResponse { /** * The requested tags. */ Tags?: TagsMap; } export interface GetTriggerRequest { /** * The name of the trigger to retrieve. */ Name: NameString; } export interface GetTriggerResponse { /** * The requested trigger definition. */ Trigger?: Trigger; } export interface GetTriggersRequest { /** * A continuation token, if this is a continuation call. */ NextToken?: GenericString; /** * The name of the job to retrieve triggers for. The trigger that can start this job is returned, and if there is no such trigger, all triggers are returned. */ DependentJobName?: NameString; /** * The maximum size of the response. */ MaxResults?: PageSize; } export interface GetTriggersResponse { /** * A list of triggers for the specified job. */ Triggers?: TriggerList; /** * A continuation token, if not all the requested triggers have yet been returned. */ NextToken?: GenericString; } export interface GetUserDefinedFunctionRequest { /** * The ID of the Data Catalog where the function to be retrieved is located. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the catalog database where the function is located. */ DatabaseName: NameString; /** * The name of the function. */ FunctionName: NameString; } export interface GetUserDefinedFunctionResponse { /** * The requested function definition. */ UserDefinedFunction?: UserDefinedFunction; } export interface GetUserDefinedFunctionsRequest { /** * The ID of the Data Catalog where the functions to be retrieved are located. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the catalog database where the functions are located. */ DatabaseName: NameString; /** * An optional function-name pattern string that filters the function definitions returned. */ Pattern: NameString; /** * A continuation token, if this is a continuation call. */ NextToken?: Token; /** * The maximum number of functions to return in one response. */ MaxResults?: PageSize; } export interface GetUserDefinedFunctionsResponse { /** * A list of requested function definitions. */ UserDefinedFunctions?: UserDefinedFunctionList; /** * A continuation token, if the list of functions returned does not include the last requested function. */ NextToken?: Token; } export interface GetWorkflowRequest { /** * The name of the workflow to retrieve. */ Name: NameString; /** * Specifies whether to include a graph when returning the workflow resource metadata. */ IncludeGraph?: NullableBoolean; } export interface GetWorkflowResponse { /** * The resource metadata for the workflow. */ Workflow?: Workflow; } export interface GetWorkflowRunPropertiesRequest { /** * Name of the workflow which was run. */ Name: NameString; /** * The ID of the workflow run whose run properties should be returned. */ RunId: IdString; } export interface GetWorkflowRunPropertiesResponse { /** * The workflow run properties which were set during the specified run. */ RunProperties?: WorkflowRunProperties; } export interface GetWorkflowRunRequest { /** * Name of the workflow being run. */ Name: NameString; /** * The ID of the workflow run. */ RunId: IdString; /** * Specifies whether to include the workflow graph in response or not. */ IncludeGraph?: NullableBoolean; } export interface GetWorkflowRunResponse { /** * The requested workflow run metadata. */ Run?: WorkflowRun; } export interface GetWorkflowRunsRequest { /** * Name of the workflow whose metadata of runs should be returned. */ Name: NameString; /** * Specifies whether to include the workflow graph in response or not. */ IncludeGraph?: NullableBoolean; /** * The maximum size of the response. */ NextToken?: GenericString; /** * The maximum number of workflow runs to be included in the response. */ MaxResults?: PageSize; } export interface GetWorkflowRunsResponse { /** * A list of workflow run metadata objects. */ Runs?: WorkflowRuns; /** * A continuation token, if not all requested workflow runs have been returned. */ NextToken?: GenericString; } export type GlueResourceArn = string; export interface GlueTable { /** * A database name in the AWS Glue Data Catalog. */ DatabaseName: NameString; /** * A table name in the AWS Glue Data Catalog. */ TableName: NameString; /** * A unique identifier for the AWS Glue Data Catalog. */ CatalogId?: NameString; /** * The name of the connection to the AWS Glue Data Catalog. */ ConnectionName?: NameString; } export type GlueTables = GlueTable[]; export type GlueVersionString = string; export interface GrokClassifier { /** * The name of the classifier. */ Name: NameString; /** * An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on. */ Classification: Classification; /** * The time that this classifier was registered. */ CreationTime?: Timestamp; /** * The time that this classifier was last updated. */ LastUpdated?: Timestamp; /** * The version of this classifier. */ Version?: VersionId; /** * The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifiers. */ GrokPattern: GrokPattern; /** * Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers. */ CustomPatterns?: CustomPatterns; } export type GrokPattern = string; export type HashString = string; export type IdString = string; export interface ImportCatalogToGlueRequest { /** * The ID of the catalog to import. Currently, this should be the AWS account ID. */ CatalogId?: CatalogIdString; } export interface ImportCatalogToGlueResponse { } export interface ImportLabelsTaskRunProperties { /** * The Amazon Simple Storage Service (Amazon S3) path from where you will import the labels. */ InputS3Path?: UriString; /** * Indicates whether to overwrite your existing labels. */ Replace?: ReplaceBoolean; } export type Integer = number; export type IntegerFlag = number; export type IntegerValue = number; export interface JdbcTarget { /** * The name of the connection to use to connect to the JDBC target. */ ConnectionName?: ConnectionName; /** * The path of the JDBC target. */ Path?: Path; /** * A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler. */ Exclusions?: PathList; } export type JdbcTargetList = JdbcTarget[]; export interface Job { /** * The name you assign to this job definition. */ Name?: NameString; /** * A description of the job. */ Description?: DescriptionString; /** * This field is reserved for future use. */ LogUri?: UriString; /** * The name or Amazon Resource Name (ARN) of the IAM role associated with this job. */ Role?: RoleString; /** * The time and date that this job definition was created. */ CreatedOn?: TimestampValue; /** * The last point in time when this job definition was modified. */ LastModifiedOn?: TimestampValue; /** * An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job. */ ExecutionProperty?: ExecutionProperty; /** * The JobCommand that executes this job. */ Command?: JobCommand; /** * The default arguments for this job, specified as name-value pairs. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide. */ DefaultArguments?: GenericMap; /** * The connections used for this job. */ Connections?: ConnectionsList; /** * The maximum number of times to retry this job after a JobRun fails. */ MaxRetries?: MaxRetries; /** * This field is deprecated. Use MaxCapacity instead. The number of AWS Glue data processing units (DPUs) allocated to runs of this job. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page. */ AllocatedCapacity?: IntegerValue; /** * The job timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). */ Timeout?: Timeout; /** * The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page. Do not set Max Capacity if using WorkerType and NumberOfWorkers. The value that can be allocated for MaxCapacity depends on whether you are running a Python shell job or an Apache Spark ETL job: When you specify a Python shell job (JobCommand.Name="pythonshell"), you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU. When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"), you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type cannot have a fractional DPU allocation. */ MaxCapacity?: NullableDouble; /** * The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X. For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. */ WorkerType?: WorkerType; /** * The number of workers of a defined workerType that are allocated when a job runs. The maximum number of workers you can define are 299 for G.1X, and 149 for G.2X. */ NumberOfWorkers?: NullableInteger; /** * The name of the SecurityConfiguration structure to be used with this job. */ SecurityConfiguration?: NameString; /** * Specifies configuration properties of a job notification. */ NotificationProperty?: NotificationProperty; /** * Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark. For more information about the available AWS Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide. Jobs that are created without specifying a Glue version default to Glue 0.9. */ GlueVersion?: GlueVersionString; } export interface JobBookmarkEntry { /** * The name of the job in question. */ JobName?: JobName; /** * The version of the job. */ Version?: IntegerValue; /** * The run ID number. */ Run?: IntegerValue; /** * The attempt ID number. */ Attempt?: IntegerValue; /** * The unique run identifier associated with the previous job run. */ PreviousRunId?: RunId; /** * The run ID number. */ RunId?: RunId; /** * The bookmark itself. */ JobBookmark?: JsonValue; } export interface JobBookmarksEncryption { /** * The encryption mode to use for job bookmarks data. */ JobBookmarksEncryptionMode?: JobBookmarksEncryptionMode; /** * The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data. */ KmsKeyArn?: KmsKeyArn; } export type JobBookmarksEncryptionMode = "DISABLED"|"CSE-KMS"|string; export interface JobCommand { /** * The name of the job command. For an Apache Spark ETL job, this must be glueetl. For a Python shell job, it must be pythonshell. */ Name?: GenericString; /** * Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job. */ ScriptLocation?: ScriptLocationString; /** * The Python version being used to execute a Python shell job. Allowed values are 2 or 3. */ PythonVersion?: PythonVersionString; } export type JobList = Job[]; export type JobName = string; export type JobNameList = NameString[]; export interface JobNodeDetails { /** * The information for the job runs represented by the job node. */ JobRuns?: JobRunList; } export interface JobRun { /** * The ID of this job run. */ Id?: IdString; /** * The number of the attempt to run this job. */ Attempt?: AttemptCount; /** * The ID of the previous run of this job. For example, the JobRunId specified in the StartJobRun action. */ PreviousRunId?: IdString; /** * The name of the trigger that started this job run. */ TriggerName?: NameString; /** * The name of the job definition being used in this run. */ JobName?: NameString; /** * The date and time at which this job run was started. */ StartedOn?: TimestampValue; /** * The last time that this job run was modified. */ LastModifiedOn?: TimestampValue; /** * The date and time that this job run completed. */ CompletedOn?: TimestampValue; /** * The current state of the job run. */ JobRunState?: JobRunState; /** * The job arguments associated with this run. For this job run, they replace the default arguments set in the job definition itself. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide. */ Arguments?: GenericMap; /** * An error message associated with this job run. */ ErrorMessage?: ErrorString; /** * A list of predecessors to this job run. */ PredecessorRuns?: PredecessorList; /** * This field is deprecated. Use MaxCapacity instead. The number of AWS Glue data processing units (DPUs) allocated to this JobRun. From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page. */ AllocatedCapacity?: IntegerValue; /** * The amount of time (in seconds) that the job run consumed resources. */ ExecutionTime?: ExecutionTime; /** * The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job. */ Timeout?: Timeout; /** * The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page. Do not set Max Capacity if using WorkerType and NumberOfWorkers. The value that can be allocated for MaxCapacity depends on whether you are running a Python shell job or an Apache Spark ETL job: When you specify a Python shell job (JobCommand.Name="pythonshell"), you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU. When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"), you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type cannot have a fractional DPU allocation. */ MaxCapacity?: NullableDouble; /** * The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X. For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker. For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and a 128GB disk, and 1 executor per worker. */ WorkerType?: WorkerType; /** * The number of workers of a defined workerType that are allocated when a job runs. The maximum number of workers you can define are 299 for G.1X, and 149 for G.2X. */ NumberOfWorkers?: NullableInteger; /** * The name of the SecurityConfiguration structure to be used with this job run. */ SecurityConfiguration?: NameString; /** * The name of the log group for secure logging that can be server-side encrypted in Amazon CloudWatch using AWS KMS. This name can be /aws-glue/jobs/, in which case the default encryption is NONE. If you add a role name and SecurityConfiguration name (in other words, /aws-glue/jobs-yourRoleName-yourSecurityConfigurationName/), then that security configuration is used to encrypt the log group. */ LogGroupName?: GenericString; /** * Specifies configuration properties of a job run notification. */ NotificationProperty?: NotificationProperty; /** * Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark. For more information about the available AWS Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide. Jobs that are created without specifying a Glue version default to Glue 0.9. */ GlueVersion?: GlueVersionString; } export type JobRunList = JobRun[]; export type JobRunState = "STARTING"|"RUNNING"|"STOPPING"|"STOPPED"|"SUCCEEDED"|"FAILED"|"TIMEOUT"|string; export interface JobUpdate { /** * Description of the job being defined. */ Description?: DescriptionString; /** * This field is reserved for future use. */ LogUri?: UriString; /** * The name or Amazon Resource Name (ARN) of the IAM role associated with this job (required). */ Role?: RoleString; /** * An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job. */ ExecutionProperty?: ExecutionProperty; /** * The JobCommand that executes this job (required). */ Command?: JobCommand; /** * The default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide. */ DefaultArguments?: GenericMap; /** * The connections used for this job. */ Connections?: ConnectionsList; /** * The maximum number of times to retry this job if it fails. */ MaxRetries?: MaxRetries; /** * This field is deprecated. Use MaxCapacity instead. The number of AWS Glue data processing units (DPUs) to allocate to this job. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page. */ AllocatedCapacity?: IntegerValue; /** * The job timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). */ Timeout?: Timeout; /** * The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page. Do not set Max Capacity if using WorkerType and NumberOfWorkers. The value that can be allocated for MaxCapacity depends on whether you are running a Python shell job or an Apache Spark ETL job: When you specify a Python shell job (JobCommand.Name="pythonshell"), you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU. When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"), you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type cannot have a fractional DPU allocation. */ MaxCapacity?: NullableDouble; /** * The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X. For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. */ WorkerType?: WorkerType; /** * The number of workers of a defined workerType that are allocated when a job runs. The maximum number of workers you can define are 299 for G.1X, and 149 for G.2X. */ NumberOfWorkers?: NullableInteger; /** * The name of the SecurityConfiguration structure to be used with this job. */ SecurityConfiguration?: NameString; /** * Specifies the configuration properties of a job notification. */ NotificationProperty?: NotificationProperty; /** * Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark. For more information about the available AWS Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide. */ GlueVersion?: GlueVersionString; } export interface JsonClassifier { /** * The name of the classifier. */ Name: NameString; /** * The time that this classifier was registered. */ CreationTime?: Timestamp; /** * The time that this classifier was last updated. */ LastUpdated?: Timestamp; /** * The version of this classifier. */ Version?: VersionId; /** * A JsonPath string defining the JSON data for the classifier to classify. AWS Glue supports a subset of JsonPath, as described in Writing JsonPath Custom Classifiers. */ JsonPath: JsonPath; } export type JsonPath = string; export type JsonValue = string; export type KeyString = string; export type KmsKeyArn = string; export type LabelCount = number; export interface LabelingSetGenerationTaskRunProperties { /** * The Amazon Simple Storage Service (Amazon S3) path where you will generate the labeling set. */ OutputS3Path?: UriString; } export type Language = "PYTHON"|"SCALA"|string; export interface LastCrawlInfo { /** * Status of the last crawl. */ Status?: LastCrawlStatus; /** * If an error occurred, the error information about the last crawl. */ ErrorMessage?: DescriptionString; /** * The log group for the last crawl. */ LogGroup?: LogGroup; /** * The log stream for the last crawl. */ LogStream?: LogStream; /** * The prefix for a message about this crawl. */ MessagePrefix?: MessagePrefix; /** * The time at which the crawl started. */ StartTime?: Timestamp; } export type LastCrawlStatus = "SUCCEEDED"|"CANCELLED"|"FAILED"|string; export interface ListCrawlersRequest { /** * The maximum size of a list to return. */ MaxResults?: PageSize; /** * A continuation token, if this is a continuation request. */ NextToken?: Token; /** * Specifies to return only these tagged resources. */ Tags?: TagsMap; } export interface ListCrawlersResponse { /** * The names of all crawlers in the account, or the crawlers with the specified tags. */ CrawlerNames?: CrawlerNameList; /** * A continuation token, if the returned list does not contain the last metric available. */ NextToken?: Token; } export interface ListDevEndpointsRequest { /** * A continuation token, if this is a continuation request. */ NextToken?: GenericString; /** * The maximum size of a list to return. */ MaxResults?: PageSize; /** * Specifies to return only these tagged resources. */ Tags?: TagsMap; } export interface ListDevEndpointsResponse { /** * The names of all the DevEndpoints in the account, or the DevEndpoints with the specified tags. */ DevEndpointNames?: DevEndpointNameList; /** * A continuation token, if the returned list does not contain the last metric available. */ NextToken?: GenericString; } export interface ListJobsRequest { /** * A continuation token, if this is a continuation request. */ NextToken?: GenericString; /** * The maximum size of a list to return. */ MaxResults?: PageSize; /** * Specifies to return only these tagged resources. */ Tags?: TagsMap; } export interface ListJobsResponse { /** * The names of all jobs in the account, or the jobs with the specified tags. */ JobNames?: JobNameList; /** * A continuation token, if the returned list does not contain the last metric available. */ NextToken?: GenericString; } export interface ListTriggersRequest { /** * A continuation token, if this is a continuation request. */ NextToken?: GenericString; /** * The name of the job for which to retrieve triggers. The trigger that can start this job is returned. If there is no such trigger, all triggers are returned. */ DependentJobName?: NameString; /** * The maximum size of a list to return. */ MaxResults?: PageSize; /** * Specifies to return only these tagged resources. */ Tags?: TagsMap; } export interface ListTriggersResponse { /** * The names of all triggers in the account, or the triggers with the specified tags. */ TriggerNames?: TriggerNameList; /** * A continuation token, if the returned list does not contain the last metric available. */ NextToken?: GenericString; } export interface ListWorkflowsRequest { /** * A continuation token, if this is a continuation request. */ NextToken?: GenericString; /** * The maximum size of a list to return. */ MaxResults?: PageSize; } export interface ListWorkflowsResponse { /** * List of names of workflows in the account. */ Workflows?: WorkflowNames; /** * A continuation token, if not all workflow names have been returned. */ NextToken?: GenericString; } export interface Location { /** * A JDBC location. */ Jdbc?: CodeGenNodeArgs; /** * An Amazon Simple Storage Service (Amazon S3) location. */ S3?: CodeGenNodeArgs; /** * An Amazon DynamoDB table location. */ DynamoDB?: CodeGenNodeArgs; } export type LocationMap = {[key: string]: ColumnValuesString}; export type LocationString = string; export type LogGroup = string; export type LogStream = string; export type Logical = "AND"|"ANY"|string; export type LogicalOperator = "EQUALS"|string; export interface MLTransform { /** * The unique transform ID that is generated for the machine learning transform. The ID is guaranteed to be unique and does not change. */ TransformId?: HashString; /** * A user-defined name for the machine learning transform. Names are not guaranteed unique and can be changed at any time. */ Name?: NameString; /** * A user-defined, long-form description text for the machine learning transform. Descriptions are not guaranteed to be unique and can be changed at any time. */ Description?: DescriptionString; /** * The current status of the machine learning transform. */ Status?: TransformStatusType; /** * A timestamp. The time and date that this machine learning transform was created. */ CreatedOn?: Timestamp; /** * A timestamp. The last point in time when this machine learning transform was modified. */ LastModifiedOn?: Timestamp; /** * A list of AWS Glue table definitions used by the transform. */ InputRecordTables?: GlueTables; /** * A TransformParameters object. You can use parameters to tune (customize) the behavior of the machine learning transform by specifying what data it learns from and your preference on various tradeoffs (such as precious vs. recall, or accuracy vs. cost). */ Parameters?: TransformParameters; /** * An EvaluationMetrics object. Evaluation metrics provide an estimate of the quality of your machine learning transform. */ EvaluationMetrics?: EvaluationMetrics; /** * A count identifier for the labeling files generated by AWS Glue for this transform. As you create a better transform, you can iteratively download, label, and upload the labeling file. */ LabelCount?: LabelCount; /** * A map of key-value pairs representing the columns and data types that this transform can run against. Has an upper bound of 100 columns. */ Schema?: TransformSchema; /** * The name or Amazon Resource Name (ARN) of the IAM role with the required permissions. This role needs permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, temporary directory, scripts, and any libraries used by the task run for this transform. */ Role?: RoleString; /** * The number of AWS Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page. When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only. */ MaxCapacity?: NullableDouble; /** * The type of predefined worker that is allocated when a task of this transform runs. Accepts a value of Standard, G.1X, or G.2X. For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker. For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and a 128GB disk, and 1 executor per worker. */ WorkerType?: WorkerType; /** * The number of workers of a defined workerType that are allocated when a task of the transform runs. */ NumberOfWorkers?: NullableInteger; /** * The timeout in minutes of the machine learning transform. */ Timeout?: Timeout; /** * The maximum number of times to retry after an MLTaskRun of the machine learning transform fails. */ MaxRetries?: NullableInteger; } export type MapValue = {[key: string]: GenericString}; export interface MappingEntry { /** * The name of the source table. */ SourceTable?: TableName; /** * The source path. */ SourcePath?: SchemaPathString; /** * The source type. */ SourceType?: FieldType; /** * The target table. */ TargetTable?: TableName; /** * The target path. */ TargetPath?: SchemaPathString; /** * The target type. */ TargetType?: FieldType; } export type MappingList = MappingEntry[]; export type MatchCriteria = NameString[]; export type MaxConcurrentRuns = number; export type MaxRetries = number; export type MessagePrefix = string; export type MillisecondsCount = number; export type NameString = string; export type NameStringList = NameString[]; export interface Node { /** * The type of AWS Glue component represented by the node. */ Type?: NodeType; /** * The name of the AWS Glue component represented by the node. */ Name?: NameString; /** * The unique Id assigned to the node within the workflow. */ UniqueId?: NameString; /** * Details of the Trigger when the node represents a Trigger. */ TriggerDetails?: TriggerNodeDetails; /** * Details of the Job when the node represents a Job. */ JobDetails?: JobNodeDetails; /** * Details of the crawler when the node represents a crawler. */ CrawlerDetails?: CrawlerNodeDetails; } export type NodeList = Node[]; export type NodeType = "CRAWLER"|"JOB"|"TRIGGER"|string; export type NonNegativeDouble = number; export type NonNegativeInteger = number; export interface NotificationProperty { /** * After a job run starts, the number of minutes to wait before sending a job run delay notification. */ NotifyDelayAfter?: NotifyDelayAfter; } export type NotifyDelayAfter = number; export type NullableBoolean = boolean; export type NullableDouble = number; export type NullableInteger = number; export type OrchestrationStringList = GenericString[]; export interface Order { /** * The name of the column. */ Column: NameString; /** * Indicates that the column is sorted in ascending order (== 1), or in descending order (==0). */ SortOrder: IntegerFlag; } export type OrderList = Order[]; export type PageSize = number; export type PaginationToken = string; export type ParametersMap = {[key: string]: ParametersMapValue}; export type ParametersMapValue = string; export interface Partition { /** * The values of the partition. */ Values?: ValueStringList; /** * The name of the catalog database in which to create the partition. */ DatabaseName?: NameString; /** * The name of the database table in which to create the partition. */ TableName?: NameString; /** * The time at which the partition was created. */ CreationTime?: Timestamp; /** * The last time at which the partition was accessed. */ LastAccessTime?: Timestamp; /** * Provides information about the physical location where the partition is stored. */ StorageDescriptor?: StorageDescriptor; /** * These key-value pairs define partition parameters. */ Parameters?: ParametersMap; /** * The last time at which column statistics were computed for this partition. */ LastAnalyzedTime?: Timestamp; } export interface PartitionError { /** * The values that define the partition. */ PartitionValues?: ValueStringList; /** * The details about the partition error. */ ErrorDetail?: ErrorDetail; } export type PartitionErrors = PartitionError[]; export interface PartitionInput { /** * The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter for a valid input. The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise AWS Glue will add the values to the wrong keys. */ Values?: ValueStringList; /** * The last time at which the partition was accessed. */ LastAccessTime?: Timestamp; /** * Provides information about the physical location where the partition is stored. */ StorageDescriptor?: StorageDescriptor; /** * These key-value pairs define partition parameters. */ Parameters?: ParametersMap; /** * The last time at which column statistics were computed for this partition. */ LastAnalyzedTime?: Timestamp; } export type PartitionInputList = PartitionInput[]; export type PartitionList = Partition[]; export interface PartitionValueList { /** * The list of values. */ Values: ValueStringList; } export type Path = string; export type PathList = Path[]; export type Permission = "ALL"|"SELECT"|"ALTER"|"DROP"|"DELETE"|"INSERT"|"CREATE_DATABASE"|"CREATE_TABLE"|"DATA_LOCATION_ACCESS"|string; export type PermissionList = Permission[]; export interface PhysicalConnectionRequirements { /** * The subnet ID used by the connection. */ SubnetId?: NameString; /** * The security group ID list used by the connection. */ SecurityGroupIdList?: SecurityGroupIdList; /** * The connection's Availability Zone. This field is redundant because the specified subnet implies the Availability Zone to be used. Currently the field must be populated, but it will be deprecated in the future. */ AvailabilityZone?: NameString; } export type PolicyJsonString = string; export interface Predecessor { /** * The name of the job definition used by the predecessor job run. */ JobName?: NameString; /** * The job-run ID of the predecessor job run. */ RunId?: IdString; } export type PredecessorList = Predecessor[]; export interface Predicate { /** * An optional field if only one condition is listed. If multiple conditions are listed, then this field is required. */ Logical?: Logical; /** * A list of the conditions that determine when the trigger will fire. */ Conditions?: ConditionList; } export type PredicateString = string; export interface PrincipalPermissions { /** * The principal who is granted permissions. */ Principal?: DataLakePrincipal; /** * The permissions that are granted to the principal. */ Permissions?: PermissionList; } export type PrincipalPermissionsList = PrincipalPermissions[]; export type PrincipalType = "USER"|"ROLE"|"GROUP"|string; export interface PropertyPredicate { /** * The key of the property. */ Key?: ValueString; /** * The value of the property. */ Value?: ValueString; /** * The comparator used to compare this property to others. */ Comparator?: Comparator; } export type PublicKeysList = GenericString[]; export interface PutDataCatalogEncryptionSettingsRequest { /** * The ID of the Data Catalog to set the security configuration for. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The security configuration to set. */ DataCatalogEncryptionSettings: DataCatalogEncryptionSettings; } export interface PutDataCatalogEncryptionSettingsResponse { } export interface PutResourcePolicyRequest { /** * Contains the policy document to set, in JSON format. */ PolicyInJson: PolicyJsonString; /** * The hash value returned when the previous policy was set using PutResourcePolicy. Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set. */ PolicyHashCondition?: HashString; /** * A value of MUST_EXIST is used to update a policy. A value of NOT_EXIST is used to create a new policy. If a value of NONE or a null value is used, the call will not depend on the existence of a policy. */ PolicyExistsCondition?: ExistCondition; } export interface PutResourcePolicyResponse { /** * A hash of the policy that has just been set. This must be included in a subsequent call that overwrites or updates this policy. */ PolicyHash?: HashString; } export interface PutWorkflowRunPropertiesRequest { /** * Name of the workflow which was run. */ Name: NameString; /** * The ID of the workflow run for which the run properties should be updated. */ RunId: IdString; /** * The properties to put for the specified run. */ RunProperties: WorkflowRunProperties; } export interface PutWorkflowRunPropertiesResponse { } export type PythonScript = string; export type PythonVersionString = string; export type RecordsCount = number; export type ReplaceBoolean = boolean; export interface ResetJobBookmarkRequest { /** * The name of the job in question. */ JobName: JobName; /** * The unique run identifier associated with this job run. */ RunId?: RunId; } export interface ResetJobBookmarkResponse { /** * The reset bookmark entry. */ JobBookmarkEntry?: JobBookmarkEntry; } export type ResourceType = "JAR"|"FILE"|"ARCHIVE"|string; export interface ResourceUri { /** * The type of the resource. */ ResourceType?: ResourceType; /** * The URI for accessing the resource. */ Uri?: URI; } export type ResourceUriList = ResourceUri[]; export type Role = string; export type RoleArn = string; export type RoleString = string; export type RowTag = string; export type RunId = string; export interface S3Encryption { /** * The encryption mode to use for Amazon S3 data. */ S3EncryptionMode?: S3EncryptionMode; /** * The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data. */ KmsKeyArn?: KmsKeyArn; } export type S3EncryptionList = S3Encryption[]; export type S3EncryptionMode = "DISABLED"|"SSE-KMS"|"SSE-S3"|string; export interface S3Target { /** * The path to the Amazon S3 target. */ Path?: Path; /** * A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler. */ Exclusions?: PathList; } export type S3TargetList = S3Target[]; export type ScalaCode = string; export interface Schedule { /** * A cron expression used to specify the schedule. For more information, see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, specify cron(15 12 * * ? *). */ ScheduleExpression?: CronExpression; /** * The state of the schedule. */ State?: ScheduleState; } export type ScheduleState = "SCHEDULED"|"NOT_SCHEDULED"|"TRANSITIONING"|string; export interface SchemaChangePolicy { /** * The update behavior when the crawler finds a changed schema. */ UpdateBehavior?: UpdateBehavior; /** * The deletion behavior when the crawler finds a deleted object. */ DeleteBehavior?: DeleteBehavior; } export interface SchemaColumn { /** * The name of the column. */ Name?: ColumnNameString; /** * The type of data in the column. */ DataType?: ColumnTypeString; } export type SchemaPathString = string; export type ScriptLocationString = string; export type SearchPropertyPredicates = PropertyPredicate[]; export interface SearchTablesRequest { /** * A unique identifier, consisting of account_id/datalake. */ CatalogId?: CatalogIdString; /** * A continuation token, included if this is a continuation call. */ NextToken?: Token; /** * A list of key-value pairs, and a comparator used to filter the search results. Returns all entities matching the predicate. */ Filters?: SearchPropertyPredicates; /** * A string used for a text search. Specifying a value in quotes filters based on an exact match to the value. */ SearchText?: ValueString; /** * A list of criteria for sorting the results by a field name, in an ascending or descending order. */ SortCriteria?: SortCriteria; /** * The maximum number of tables to return in a single response. */ MaxResults?: PageSize; } export interface SearchTablesResponse { /** * A continuation token, present if the current list segment is not the last. */ NextToken?: Token; /** * A list of the requested Table objects. The SearchTables response returns only the tables that you have access to. */ TableList?: TableList; } export interface SecurityConfiguration { /** * The name of the security configuration. */ Name?: NameString; /** * The time at which this security configuration was created. */ CreatedTimeStamp?: TimestampValue; /** * The encryption configuration associated with this security configuration. */ EncryptionConfiguration?: EncryptionConfiguration; } export type SecurityConfigurationList = SecurityConfiguration[]; export type SecurityGroupIdList = NameString[]; export interface Segment { /** * The zero-based index number of the segment. For example, if the total number of segments is 4, SegmentNumber values range from 0 through 3. */ SegmentNumber: NonNegativeInteger; /** * The total number of segments. */ TotalSegments: TotalSegmentsInteger; } export interface SerDeInfo { /** * Name of the SerDe. */ Name?: NameString; /** * Usually the class that implements the SerDe. An example is org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe. */ SerializationLibrary?: NameString; /** * These key-value pairs define initialization parameters for the SerDe. */ Parameters?: ParametersMap; } export interface SkewedInfo { /** * A list of names of columns that contain skewed values. */ SkewedColumnNames?: NameStringList; /** * A list of values that appear so frequently as to be considered skewed. */ SkewedColumnValues?: ColumnValueStringList; /** * A mapping of skewed values to the columns that contain them. */ SkewedColumnValueLocationMaps?: LocationMap; } export type Sort = "ASC"|"DESC"|string; export type SortCriteria = SortCriterion[]; export interface SortCriterion { /** * The name of the field on which to sort. */ FieldName?: ValueString; /** * An ascending or descending sort. */ Sort?: Sort; } export type SortDirectionType = "DESCENDING"|"ASCENDING"|string; export interface StartCrawlerRequest { /** * Name of the crawler to start. */ Name: NameString; } export interface StartCrawlerResponse { } export interface StartCrawlerScheduleRequest { /** * Name of the crawler to schedule. */ CrawlerName: NameString; } export interface StartCrawlerScheduleResponse { } export interface StartExportLabelsTaskRunRequest { /** * The unique identifier of the machine learning transform. */ TransformId: HashString; /** * The Amazon S3 path where you export the labels. */ OutputS3Path: UriString; } export interface StartExportLabelsTaskRunResponse { /** * The unique identifier for the task run. */ TaskRunId?: HashString; } export interface StartImportLabelsTaskRunRequest { /** * The unique identifier of the machine learning transform. */ TransformId: HashString; /** * The Amazon Simple Storage Service (Amazon S3) path from where you import the labels. */ InputS3Path: UriString; /** * Indicates whether to overwrite your existing labels. */ ReplaceAllLabels?: ReplaceBoolean; } export interface StartImportLabelsTaskRunResponse { /** * The unique identifier for the task run. */ TaskRunId?: HashString; } export interface StartJobRunRequest { /** * The name of the job definition to use. */ JobName: NameString; /** * The ID of a previous JobRun to retry. */ JobRunId?: IdString; /** * The job arguments specifically for this run. For this job run, they replace the default arguments set in the job definition itself. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide. */ Arguments?: GenericMap; /** * This field is deprecated. Use MaxCapacity instead. The number of AWS Glue data processing units (DPUs) to allocate to this JobRun. From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page. */ AllocatedCapacity?: IntegerValue; /** * The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job. */ Timeout?: Timeout; /** * The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page. Do not set Max Capacity if using WorkerType and NumberOfWorkers. The value that can be allocated for MaxCapacity depends on whether you are running a Python shell job, or an Apache Spark ETL job: When you specify a Python shell job (JobCommand.Name="pythonshell"), you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU. When you specify an Apache Spark ETL job (JobCommand.Name="glueetl"), you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type cannot have a fractional DPU allocation. */ MaxCapacity?: NullableDouble; /** * The name of the SecurityConfiguration structure to be used with this job run. */ SecurityConfiguration?: NameString; /** * Specifies configuration properties of a job run notification. */ NotificationProperty?: NotificationProperty; /** * The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X. For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker. For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and a 128GB disk, and 1 executor per worker. */ WorkerType?: WorkerType; /** * The number of workers of a defined workerType that are allocated when a job runs. The maximum number of workers you can define are 299 for G.1X, and 149 for G.2X. */ NumberOfWorkers?: NullableInteger; } export interface StartJobRunResponse { /** * The ID assigned to this job run. */ JobRunId?: IdString; } export interface StartMLEvaluationTaskRunRequest { /** * The unique identifier of the machine learning transform. */ TransformId: HashString; } export interface StartMLEvaluationTaskRunResponse { /** * The unique identifier associated with this run. */ TaskRunId?: HashString; } export interface StartMLLabelingSetGenerationTaskRunRequest { /** * The unique identifier of the machine learning transform. */ TransformId: HashString; /** * The Amazon Simple Storage Service (Amazon S3) path where you generate the labeling set. */ OutputS3Path: UriString; } export interface StartMLLabelingSetGenerationTaskRunResponse { /** * The unique run identifier that is associated with this task run. */ TaskRunId?: HashString; } export interface StartTriggerRequest { /** * The name of the trigger to start. */ Name: NameString; } export interface StartTriggerResponse { /** * The name of the trigger that was started. */ Name?: NameString; } export interface StartWorkflowRunRequest { /** * The name of the workflow to start. */ Name: NameString; } export interface StartWorkflowRunResponse { /** * An Id for the new run. */ RunId?: IdString; } export interface StopCrawlerRequest { /** * Name of the crawler to stop. */ Name: NameString; } export interface StopCrawlerResponse { } export interface StopCrawlerScheduleRequest { /** * Name of the crawler whose schedule state to set. */ CrawlerName: NameString; } export interface StopCrawlerScheduleResponse { } export interface StopTriggerRequest { /** * The name of the trigger to stop. */ Name: NameString; } export interface StopTriggerResponse { /** * The name of the trigger that was stopped. */ Name?: NameString; } export interface StorageDescriptor { /** * A list of the Columns in the table. */ Columns?: ColumnList; /** * The physical location of the table. By default, this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name. */ Location?: LocationString; /** * The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format. */ InputFormat?: FormatString; /** * The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format. */ OutputFormat?: FormatString; /** * True if the data in the table is compressed, or False if not. */ Compressed?: Boolean; /** * Must be specified if the table contains any dimension columns. */ NumberOfBuckets?: Integer; /** * The serialization/deserialization (SerDe) information. */ SerdeInfo?: SerDeInfo; /** * A list of reducer grouping columns, clustering columns, and bucketing columns in the table. */ BucketColumns?: NameStringList; /** * A list specifying the sort order of each bucket in the table. */ SortColumns?: OrderList; /** * The user-supplied properties in key-value form. */ Parameters?: ParametersMap; /** * The information about values that appear frequently in a column (skewed values). */ SkewedInfo?: SkewedInfo; /** * True if the table data is stored in subdirectories, or False if not. */ StoredAsSubDirectories?: Boolean; } export type StringList = GenericString[]; export interface Table { /** * The table name. For Hive compatibility, this must be entirely lowercase. */ Name: NameString; /** * The name of the database where the table metadata resides. For Hive compatibility, this must be all lowercase. */ DatabaseName?: NameString; /** * A description of the table. */ Description?: DescriptionString; /** * The owner of the table. */ Owner?: NameString; /** * The time when the table definition was created in the Data Catalog. */ CreateTime?: Timestamp; /** * The last time that the table was updated. */ UpdateTime?: Timestamp; /** * The last time that the table was accessed. This is usually taken from HDFS, and might not be reliable. */ LastAccessTime?: Timestamp; /** * The last time that column statistics were computed for this table. */ LastAnalyzedTime?: Timestamp; /** * The retention time for this table. */ Retention?: NonNegativeInteger; /** * A storage descriptor containing information about the physical storage of this table. */ StorageDescriptor?: StorageDescriptor; /** * A list of columns by which the table is partitioned. Only primitive types are supported as partition keys. When you create a table used by Amazon Athena, and you do not specify any partitionKeys, you must at least set the value of partitionKeys to an empty list. For example: "PartitionKeys": [] */ PartitionKeys?: ColumnList; /** * If the table is a view, the original text of the view; otherwise null. */ ViewOriginalText?: ViewTextString; /** * If the table is a view, the expanded text of the view; otherwise null. */ ViewExpandedText?: ViewTextString; /** * The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). */ TableType?: TableTypeString; /** * These key-value pairs define properties associated with the table. */ Parameters?: ParametersMap; /** * The person or entity who created the table. */ CreatedBy?: NameString; /** * Indicates whether the table has been registered with AWS Lake Formation. */ IsRegisteredWithLakeFormation?: Boolean; } export interface TableError { /** * The name of the table. For Hive compatibility, this must be entirely lowercase. */ TableName?: NameString; /** * The details about the error. */ ErrorDetail?: ErrorDetail; } export type TableErrors = TableError[]; export interface TableInput { /** * The table name. For Hive compatibility, this is folded to lowercase when it is stored. */ Name: NameString; /** * A description of the table. */ Description?: DescriptionString; /** * The table owner. */ Owner?: NameString; /** * The last time that the table was accessed. */ LastAccessTime?: Timestamp; /** * The last time that column statistics were computed for this table. */ LastAnalyzedTime?: Timestamp; /** * The retention time for this table. */ Retention?: NonNegativeInteger; /** * A storage descriptor containing information about the physical storage of this table. */ StorageDescriptor?: StorageDescriptor; /** * A list of columns by which the table is partitioned. Only primitive types are supported as partition keys. When you create a table used by Amazon Athena, and you do not specify any partitionKeys, you must at least set the value of partitionKeys to an empty list. For example: "PartitionKeys": [] */ PartitionKeys?: ColumnList; /** * If the table is a view, the original text of the view; otherwise null. */ ViewOriginalText?: ViewTextString; /** * If the table is a view, the expanded text of the view; otherwise null. */ ViewExpandedText?: ViewTextString; /** * The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). */ TableType?: TableTypeString; /** * These key-value pairs define properties associated with the table. */ Parameters?: ParametersMap; } export type TableList = Table[]; export type TableName = string; export type TablePrefix = string; export type TableTypeString = string; export interface TableVersion { /** * The table in question. */ Table?: Table; /** * The ID value that identifies this table version. A VersionId is a string representation of an integer. Each version is incremented by 1. */ VersionId?: VersionString; } export interface TableVersionError { /** * The name of the table in question. */ TableName?: NameString; /** * The ID value of the version in question. A VersionID is a string representation of an integer. Each version is incremented by 1. */ VersionId?: VersionString; /** * The details about the error. */ ErrorDetail?: ErrorDetail; } export type TableVersionErrors = TableVersionError[]; export type TagKey = string; export type TagKeysList = TagKey[]; export interface TagResourceRequest { /** * The ARN of the AWS Glue resource to which to add the tags. For more information about AWS Glue resource ARNs, see the AWS Glue ARN string pattern. */ ResourceArn: GlueResourceArn; /** * Tags to add to this resource. */ TagsToAdd: TagsMap; } export interface TagResourceResponse { } export type TagValue = string; export type TagsMap = {[key: string]: TagValue}; export interface TaskRun { /** * The unique identifier for the transform. */ TransformId?: HashString; /** * The unique identifier for this task run. */ TaskRunId?: HashString; /** * The current status of the requested task run. */ Status?: TaskStatusType; /** * The names of the log group for secure logging, associated with this task run. */ LogGroupName?: GenericString; /** * Specifies configuration properties associated with this task run. */ Properties?: TaskRunProperties; /** * The list of error strings associated with this task run. */ ErrorString?: GenericString; /** * The date and time that this task run started. */ StartedOn?: Timestamp; /** * The last point in time that the requested task run was updated. */ LastModifiedOn?: Timestamp; /** * The last point in time that the requested task run was completed. */ CompletedOn?: Timestamp; /** * The amount of time (in seconds) that the task run consumed resources. */ ExecutionTime?: ExecutionTime; } export interface TaskRunFilterCriteria { /** * The type of task run. */ TaskRunType?: TaskType; /** * The current status of the task run. */ Status?: TaskStatusType; /** * Filter on task runs started before this date. */ StartedBefore?: Timestamp; /** * Filter on task runs started after this date. */ StartedAfter?: Timestamp; } export type TaskRunList = TaskRun[]; export interface TaskRunProperties { /** * The type of task run. */ TaskType?: TaskType; /** * The configuration properties for an importing labels task run. */ ImportLabelsTaskRunProperties?: ImportLabelsTaskRunProperties; /** * The configuration properties for an exporting labels task run. */ ExportLabelsTaskRunProperties?: ExportLabelsTaskRunProperties; /** * The configuration properties for a labeling set generation task run. */ LabelingSetGenerationTaskRunProperties?: LabelingSetGenerationTaskRunProperties; /** * The configuration properties for a find matches task run. */ FindMatchesTaskRunProperties?: FindMatchesTaskRunProperties; } export type TaskRunSortColumnType = "TASK_RUN_TYPE"|"STATUS"|"STARTED"|string; export interface TaskRunSortCriteria { /** * The column to be used to sort the list of task runs for the machine learning transform. */ Column: TaskRunSortColumnType; /** * The sort direction to be used to sort the list of task runs for the machine learning transform. */ SortDirection: SortDirectionType; } export type TaskStatusType = "STARTING"|"RUNNING"|"STOPPING"|"STOPPED"|"SUCCEEDED"|"FAILED"|"TIMEOUT"|string; export type TaskType = "EVALUATION"|"LABELING_SET_GENERATION"|"IMPORT_LABELS"|"EXPORT_LABELS"|"FIND_MATCHES"|string; export type Timeout = number; export type Timestamp = Date; export type TimestampValue = Date; export type Token = string; export type TotalSegmentsInteger = number; export interface TransformFilterCriteria { /** * A unique transform name that is used to filter the machine learning transforms. */ Name?: NameString; /** * The type of machine learning transform that is used to filter the machine learning transforms. */ TransformType?: TransformType; /** * Filters the list of machine learning transforms by the last known status of the transforms (to indicate whether a transform can be used or not). One of "NOT_READY", "READY", or "DELETING". */ Status?: TransformStatusType; /** * The time and date before which the transforms were created. */ CreatedBefore?: Timestamp; /** * The time and date after which the transforms were created. */ CreatedAfter?: Timestamp; /** * Filter on transforms last modified before this date. */ LastModifiedBefore?: Timestamp; /** * Filter on transforms last modified after this date. */ LastModifiedAfter?: Timestamp; /** * Filters on datasets with a specific schema. The Map<Column, Type> object is an array of key-value pairs representing the schema this transform accepts, where Column is the name of a column, and Type is the type of the data such as an integer or string. Has an upper bound of 100 columns. */ Schema?: TransformSchema; } export type TransformList = MLTransform[]; export interface TransformParameters { /** * The type of machine learning transform. For information about the types of machine learning transforms, see Creating Machine Learning Transforms. */ TransformType: TransformType; /** * The parameters for the find matches algorithm. */ FindMatchesParameters?: FindMatchesParameters; } export type TransformSchema = SchemaColumn[]; export type TransformSortColumnType = "NAME"|"TRANSFORM_TYPE"|"STATUS"|"CREATED"|"LAST_MODIFIED"|string; export interface TransformSortCriteria { /** * The column to be used in the sorting criteria that are associated with the machine learning transform. */ Column: TransformSortColumnType; /** * The sort direction to be used in the sorting criteria that are associated with the machine learning transform. */ SortDirection: SortDirectionType; } export type TransformStatusType = "NOT_READY"|"READY"|"DELETING"|string; export type TransformType = "FIND_MATCHES"|string; export interface Trigger { /** * The name of the trigger. */ Name?: NameString; /** * The name of the workflow associated with the trigger. */ WorkflowName?: NameString; /** * Reserved for future use. */ Id?: IdString; /** * The type of trigger that this is. */ Type?: TriggerType; /** * The current state of the trigger. */ State?: TriggerState; /** * A description of this trigger. */ Description?: DescriptionString; /** * A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *). */ Schedule?: GenericString; /** * The actions initiated by this trigger. */ Actions?: ActionList; /** * The predicate of this trigger, which defines when it will fire. */ Predicate?: Predicate; } export type TriggerList = Trigger[]; export type TriggerNameList = NameString[]; export interface TriggerNodeDetails { /** * The information of the trigger represented by the trigger node. */ Trigger?: Trigger; } export type TriggerState = "CREATING"|"CREATED"|"ACTIVATING"|"ACTIVATED"|"DEACTIVATING"|"DEACTIVATED"|"DELETING"|"UPDATING"|string; export type TriggerType = "SCHEDULED"|"CONDITIONAL"|"ON_DEMAND"|string; export interface TriggerUpdate { /** * Reserved for future use. */ Name?: NameString; /** * A description of this trigger. */ Description?: DescriptionString; /** * A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *). */ Schedule?: GenericString; /** * The actions initiated by this trigger. */ Actions?: ActionList; /** * The predicate of this trigger, which defines when it will fire. */ Predicate?: Predicate; } export type URI = string; export interface UntagResourceRequest { /** * The Amazon Resource Name (ARN) of the resource from which to remove the tags. */ ResourceArn: GlueResourceArn; /** * Tags to remove from this resource. */ TagsToRemove: TagKeysList; } export interface UntagResourceResponse { } export type UpdateBehavior = "LOG"|"UPDATE_IN_DATABASE"|string; export interface UpdateClassifierRequest { /** * A GrokClassifier object with updated fields. */ GrokClassifier?: UpdateGrokClassifierRequest; /** * An XMLClassifier object with updated fields. */ XMLClassifier?: UpdateXMLClassifierRequest; /** * A JsonClassifier object with updated fields. */ JsonClassifier?: UpdateJsonClassifierRequest; /** * A CsvClassifier object with updated fields. */ CsvClassifier?: UpdateCsvClassifierRequest; } export interface UpdateClassifierResponse { } export interface UpdateConnectionRequest { /** * The ID of the Data Catalog in which the connection resides. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the connection definition to update. */ Name: NameString; /** * A ConnectionInput object that redefines the connection in question. */ ConnectionInput: ConnectionInput; } export interface UpdateConnectionResponse { } export interface UpdateCrawlerRequest { /** * Name of the new crawler. */ Name: NameString; /** * The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access customer resources. */ Role?: Role; /** * The AWS Glue database where results are stored, such as: arn:aws:daylight:us-east-1::database/sometable/*. */ DatabaseName?: DatabaseName; /** * A description of the new crawler. */ Description?: DescriptionStringRemovable; /** * A list of targets to crawl. */ Targets?: CrawlerTargets; /** * A cron expression used to specify the schedule. For more information, see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, specify cron(15 12 * * ? *). */ Schedule?: CronExpression; /** * A list of custom classifiers that the user has registered. By default, all built-in classifiers are included in a crawl, but these custom classifiers always override the default classifiers for a given classification. */ Classifiers?: ClassifierNameList; /** * The table prefix used for catalog tables that are created. */ TablePrefix?: TablePrefix; /** * The policy for the crawler's update and deletion behavior. */ SchemaChangePolicy?: SchemaChangePolicy; /** * The crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Configuring a Crawler. */ Configuration?: CrawlerConfiguration; /** * The name of the SecurityConfiguration structure to be used by this crawler. */ CrawlerSecurityConfiguration?: CrawlerSecurityConfiguration; } export interface UpdateCrawlerResponse { } export interface UpdateCrawlerScheduleRequest { /** * The name of the crawler whose schedule to update. */ CrawlerName: NameString; /** * The updated cron expression used to specify the schedule. For more information, see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, specify cron(15 12 * * ? *). */ Schedule?: CronExpression; } export interface UpdateCrawlerScheduleResponse { } export interface UpdateCsvClassifierRequest { /** * The name of the classifier. */ Name: NameString; /** * A custom symbol to denote what separates each column entry in the row. */ Delimiter?: CsvColumnDelimiter; /** * A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter. */ QuoteSymbol?: CsvQuoteSymbol; /** * Indicates whether the CSV file contains a header. */ ContainsHeader?: CsvHeaderOption; /** * A list of strings representing column names. */ Header?: CsvHeader; /** * Specifies not to trim values before identifying the type of column values. The default value is true. */ DisableValueTrimming?: NullableBoolean; /** * Enables the processing of files that contain only one column. */ AllowSingleColumn?: NullableBoolean; } export interface UpdateDatabaseRequest { /** * The ID of the Data Catalog in which the metadata database resides. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the database to update in the catalog. For Hive compatibility, this is folded to lowercase. */ Name: NameString; /** * A DatabaseInput object specifying the new definition of the metadata database in the catalog. */ DatabaseInput: DatabaseInput; } export interface UpdateDatabaseResponse { } export interface UpdateDevEndpointRequest { /** * The name of the DevEndpoint to be updated. */ EndpointName: GenericString; /** * The public key for the DevEndpoint to use. */ PublicKey?: GenericString; /** * The list of public keys for the DevEndpoint to use. */ AddPublicKeys?: PublicKeysList; /** * The list of public keys to be deleted from the DevEndpoint. */ DeletePublicKeys?: PublicKeysList; /** * Custom Python or Java libraries to be loaded in the DevEndpoint. */ CustomLibraries?: DevEndpointCustomLibraries; /** * True if the list of custom libraries to be loaded in the development endpoint needs to be updated, or False if otherwise. */ UpdateEtlLibraries?: BooleanValue; /** * The list of argument keys to be deleted from the map of arguments used to configure the DevEndpoint. */ DeleteArguments?: StringList; /** * The map of arguments to add the map of arguments used to configure the DevEndpoint. Valid arguments are: "--enable-glue-datacatalog": "" "GLUE_PYTHON_VERSION": "3" "GLUE_PYTHON_VERSION": "2" You can specify a version of Python support for development endpoints by using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint APIs. If no arguments are provided, the version defaults to Python 2. */ AddArguments?: MapValue; } export interface UpdateDevEndpointResponse { } export interface UpdateGrokClassifierRequest { /** * The name of the GrokClassifier. */ Name: NameString; /** * An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on. */ Classification?: Classification; /** * The grok pattern used by this classifier. */ GrokPattern?: GrokPattern; /** * Optional custom grok patterns used by this classifier. */ CustomPatterns?: CustomPatterns; } export interface UpdateJobRequest { /** * The name of the job definition to update. */ JobName: NameString; /** * Specifies the values with which to update the job definition. */ JobUpdate: JobUpdate; } export interface UpdateJobResponse { /** * Returns the name of the updated job definition. */ JobName?: NameString; } export interface UpdateJsonClassifierRequest { /** * The name of the classifier. */ Name: NameString; /** * A JsonPath string defining the JSON data for the classifier to classify. AWS Glue supports a subset of JsonPath, as described in Writing JsonPath Custom Classifiers. */ JsonPath?: JsonPath; } export interface UpdateMLTransformRequest { /** * A unique identifier that was generated when the transform was created. */ TransformId: HashString; /** * The unique name that you gave the transform when you created it. */ Name?: NameString; /** * A description of the transform. The default is an empty string. */ Description?: DescriptionString; /** * The configuration parameters that are specific to the transform type (algorithm) used. Conditionally dependent on the transform type. */ Parameters?: TransformParameters; /** * The name or Amazon Resource Name (ARN) of the IAM role with the required permissions. */ Role?: RoleString; /** * The number of AWS Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page. When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only. */ MaxCapacity?: NullableDouble; /** * The type of predefined worker that is allocated when this task runs. Accepts a value of Standard, G.1X, or G.2X. For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. For the G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker. For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and a 128GB disk, and 1 executor per worker. */ WorkerType?: WorkerType; /** * The number of workers of a defined workerType that are allocated when this task runs. */ NumberOfWorkers?: NullableInteger; /** * The timeout for a task run for this transform in minutes. This is the maximum time that a task run for this transform can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). */ Timeout?: Timeout; /** * The maximum number of times to retry a task for this transform after a task run fails. */ MaxRetries?: NullableInteger; } export interface UpdateMLTransformResponse { /** * The unique identifier for the transform that was updated. */ TransformId?: HashString; } export interface UpdatePartitionRequest { /** * The ID of the Data Catalog where the partition to be updated resides. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the catalog database in which the table in question resides. */ DatabaseName: NameString; /** * The name of the table in which the partition to be updated is located. */ TableName: NameString; /** * A list of the values defining the partition. */ PartitionValueList: BoundedPartitionValueList; /** * The new partition object to update the partition to. */ PartitionInput: PartitionInput; } export interface UpdatePartitionResponse { } export interface UpdateTableRequest { /** * The ID of the Data Catalog where the table resides. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase. */ DatabaseName: NameString; /** * An updated TableInput object to define the metadata table in the catalog. */ TableInput: TableInput; /** * By default, UpdateTable always creates an archived version of the table before updating it. However, if skipArchive is set to true, UpdateTable does not create the archived version. */ SkipArchive?: BooleanNullable; } export interface UpdateTableResponse { } export interface UpdateTriggerRequest { /** * The name of the trigger to update. */ Name: NameString; /** * The new values with which to update the trigger. */ TriggerUpdate: TriggerUpdate; } export interface UpdateTriggerResponse { /** * The resulting trigger definition. */ Trigger?: Trigger; } export interface UpdateUserDefinedFunctionRequest { /** * The ID of the Data Catalog where the function to be updated is located. If none is provided, the AWS account ID is used by default. */ CatalogId?: CatalogIdString; /** * The name of the catalog database where the function to be updated is located. */ DatabaseName: NameString; /** * The name of the function. */ FunctionName: NameString; /** * A FunctionInput object that redefines the function in the Data Catalog. */ FunctionInput: UserDefinedFunctionInput; } export interface UpdateUserDefinedFunctionResponse { } export interface UpdateWorkflowRequest { /** * Name of the workflow to be updated. */ Name: NameString; /** * The description of the workflow. */ Description?: GenericString; /** * A collection of properties to be used as part of each execution of the workflow. */ DefaultRunProperties?: WorkflowRunProperties; } export interface UpdateWorkflowResponse { /** * The name of the workflow which was specified in input. */ Name?: NameString; } export interface UpdateXMLClassifierRequest { /** * The name of the classifier. */ Name: NameString; /** * An identifier of the data format that the classifier matches. */ Classification?: Classification; /** * The XML tag designating the element that contains each record in an XML document being parsed. This cannot identify a self-closing element (closed by />). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row> is okay, but <row item_a="A" item_b="B" /> is not). */ RowTag?: RowTag; } export type UriString = string; export interface UserDefinedFunction { /** * The name of the function. */ FunctionName?: NameString; /** * The Java class that contains the function code. */ ClassName?: NameString; /** * The owner of the function. */ OwnerName?: NameString; /** * The owner type. */ OwnerType?: PrincipalType; /** * The time at which the function was created. */ CreateTime?: Timestamp; /** * The resource URIs for the function. */ ResourceUris?: ResourceUriList; } export interface UserDefinedFunctionInput { /** * The name of the function. */ FunctionName?: NameString; /** * The Java class that contains the function code. */ ClassName?: NameString; /** * The owner of the function. */ OwnerName?: NameString; /** * The owner type. */ OwnerType?: PrincipalType; /** * The resource URIs for the function. */ ResourceUris?: ResourceUriList; } export type UserDefinedFunctionList = UserDefinedFunction[]; export type ValueString = string; export type ValueStringList = ValueString[]; export type VersionId = number; export type VersionString = string; export type ViewTextString = string; export type WorkerType = "Standard"|"G.1X"|"G.2X"|string; export interface Workflow { /** * The name of the workflow representing the flow. */ Name?: NameString; /** * A description of the workflow. */ Description?: GenericString; /** * A collection of properties to be used as part of each execution of the workflow. */ DefaultRunProperties?: WorkflowRunProperties; /** * The date and time when the workflow was created. */ CreatedOn?: TimestampValue; /** * The date and time when the workflow was last modified. */ LastModifiedOn?: TimestampValue; /** * The information about the last execution of the workflow. */ LastRun?: WorkflowRun; /** * The graph representing all the AWS Glue components that belong to the workflow as nodes and directed connections between them as edges. */ Graph?: WorkflowGraph; } export interface WorkflowGraph { /** * A list of the the AWS Glue components belong to the workflow represented as nodes. */ Nodes?: NodeList; /** * A list of all the directed connections between the nodes belonging to the workflow. */ Edges?: EdgeList; } export type WorkflowNames = NameString[]; export interface WorkflowRun { /** * Name of the workflow which was executed. */ Name?: NameString; /** * The ID of this workflow run. */ WorkflowRunId?: IdString; /** * The workflow run properties which were set during the run. */ WorkflowRunProperties?: WorkflowRunProperties; /** * The date and time when the workflow run was started. */ StartedOn?: TimestampValue; /** * The date and time when the workflow run completed. */ CompletedOn?: TimestampValue; /** * The status of the workflow run. */ Status?: WorkflowRunStatus; /** * The statistics of the run. */ Statistics?: WorkflowRunStatistics; /** * The graph representing all the AWS Glue components that belong to the workflow as nodes and directed connections between them as edges. */ Graph?: WorkflowGraph; } export type WorkflowRunProperties = {[key: string]: GenericString}; export interface WorkflowRunStatistics { /** * Total number of Actions in the workflow run. */ TotalActions?: IntegerValue; /** * Total number of Actions which timed out. */ TimeoutActions?: IntegerValue; /** * Total number of Actions which have failed. */ FailedActions?: IntegerValue; /** * Total number of Actions which have stopped. */ StoppedActions?: IntegerValue; /** * Total number of Actions which have succeeded. */ SucceededActions?: IntegerValue; /** * Total number Actions in running state. */ RunningActions?: IntegerValue; } export type WorkflowRunStatus = "RUNNING"|"COMPLETED"|string; export type WorkflowRuns = WorkflowRun[]; export type Workflows = Workflow[]; export interface XMLClassifier { /** * The name of the classifier. */ Name: NameString; /** * An identifier of the data format that the classifier matches. */ Classification: Classification; /** * The time that this classifier was registered. */ CreationTime?: Timestamp; /** * The time that this classifier was last updated. */ LastUpdated?: Timestamp; /** * The version of this classifier. */ Version?: VersionId; /** * The XML tag designating the element that contains each record in an XML document being parsed. This can't identify a self-closing element (closed by />). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row> is okay, but <row item_a="A" item_b="B" /> is not). */ RowTag?: RowTag; } /** * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. */ export type apiVersion = "2017-03-31"|"latest"|string; export interface ClientApiVersions { /** * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. */ apiVersion?: apiVersion; } export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; /** * Contains interfaces for use with the Glue client. */ export import Types = Glue; } export = Glue;