openapi: 3.2.0 info: version: '2017-03-31' x-release: v4 title: 'AWS Glue #X Amz Target=AWSGlue.CreateMLTransform API' description: 'Glue Defines the public endpoint for the Glue service.' x-logo: url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: glue x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/glue-2017-03-31.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://glue.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The AWS Glue multi-region endpoint - url: https://glue.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The AWS Glue multi-region endpoint - url: http://glue.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The AWS Glue endpoint for China (Beijing) and China (Ningxia) - url: https://glue.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The AWS Glue endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: 'AWS Glue #X Amz Target=AWSGlue.CreateMLTransform API' paths: /#X-Amz-Target=AWSGlue.CreateMLTransform: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: CreateMLTransform description: 'Creates an 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 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.' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/CreateMLTransformResponse' examples: CreateMLTransform200Example: summary: Default CreateMLTransform 200 response x-microcks-default: true value: JobRunId: jr_abc123 State: SUCCEEDED '480': description: AlreadyExistsException content: application/json: schema: $ref: '#/components/schemas/AlreadyExistsException' examples: CreateMLTransform480Example: summary: Default CreateMLTransform 480 response x-microcks-default: true value: JobRunId: jr_abc123 State: SUCCEEDED '481': description: InvalidInputException content: application/json: schema: $ref: '#/components/schemas/InvalidInputException' examples: CreateMLTransform481Example: summary: Default CreateMLTransform 481 response x-microcks-default: true value: JobRunId: jr_abc123 State: SUCCEEDED '482': description: OperationTimeoutException content: application/json: schema: $ref: '#/components/schemas/OperationTimeoutException' examples: CreateMLTransform482Example: summary: Default CreateMLTransform 482 response x-microcks-default: true value: JobRunId: jr_abc123 State: SUCCEEDED '483': description: InternalServiceException content: application/json: schema: $ref: '#/components/schemas/InternalServiceException' examples: CreateMLTransform483Example: summary: Default CreateMLTransform 483 response x-microcks-default: true value: JobRunId: jr_abc123 State: SUCCEEDED '484': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: CreateMLTransform484Example: summary: Default CreateMLTransform 484 response x-microcks-default: true value: JobRunId: jr_abc123 State: SUCCEEDED '485': description: ResourceNumberLimitExceededException content: application/json: schema: $ref: '#/components/schemas/ResourceNumberLimitExceededException' examples: CreateMLTransform485Example: summary: Default CreateMLTransform 485 response x-microcks-default: true value: JobRunId: jr_abc123 State: SUCCEEDED '486': description: IdempotentParameterMismatchException content: application/json: schema: $ref: '#/components/schemas/IdempotentParameterMismatchException' examples: CreateMLTransform486Example: summary: Default CreateMLTransform 486 response x-microcks-default: true value: JobRunId: jr_abc123 State: SUCCEEDED requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateMLTransformRequest' parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - AWSGlue.CreateMLTransform summary: Amazon Glue Create M L Transform x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - 'AWS Glue #X Amz Target=AWSGlue.CreateMLTransform API' components: schemas: FindMatchesParameters: type: object properties: PrimaryKeyColumnName: allOf: - $ref: '#/components/schemas/ColumnNameString' - description: The name of a column that uniquely identifies rows in the source table. Used to help identify matching records. PrecisionRecallTradeoff: allOf: - $ref: '#/components/schemas/GenericBoundedDouble' - description:
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.
AccuracyCostTradeoff: allOf: - $ref: '#/components/schemas/GenericBoundedDouble' - description: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.
EnforceProvidedLabels: allOf: - $ref: '#/components/schemas/NullableBoolean' - description: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.
description: The parameters to configure the find matches transform. InvalidInputException: {} GlueTable: type: object required: - DatabaseName - TableName properties: DatabaseName: allOf: - $ref: '#/components/schemas/NameString' - description: A database name in the Glue Data Catalog. TableName: allOf: - $ref: '#/components/schemas/NameString' - description: A table name in the Glue Data Catalog. CatalogId: allOf: - $ref: '#/components/schemas/NameString' - description: A unique identifier for the Glue Data Catalog. ConnectionName: allOf: - $ref: '#/components/schemas/NameString' - description: The name of the connection to the Glue Data Catalog. AdditionalOptions: allOf: - $ref: '#/components/schemas/GlueTableAdditionalOptions' - description: 'Additional options for the table. Currently there are two keys supported:
pushDownPredicate: to filter on partitions without having to list and read all the files in your dataset.
catalogPartitionPredicate: to use server-side partition pruning using partition indexes in the Glue Data Catalog.
The type of machine learning transform.
For information about the types of machine learning transforms, see Creating Machine Learning Transforms.
FindMatchesParameters: allOf: - $ref: '#/components/schemas/FindMatchesParameters' - description: The parameters for the find matches algorithm. description: The algorithm-specific parameters that are associated with the machine learning transform. NullableInteger: type: integer GenericBoundedDouble: type: number format: double minimum: 0 maximum: 1 NullableBoolean: type: boolean ResourceNumberLimitExceededException: {} MLUserDataEncryption: type: object required: - MlUserDataEncryptionMode properties: MlUserDataEncryptionMode: allOf: - $ref: '#/components/schemas/MLUserDataEncryptionModeString' - description: 'The encryption mode applied to user data. Valid values are:
DISABLED: encryption is disabled
SSEKMS: use of server-side encryption with Key Management Service (SSE-KMS) for user data stored in Amazon S3.
MLUserDataEncryption object containing the encryption mode and customer-provided KMS key ID.
TaskRunSecurityConfigurationName:
allOf:
- $ref: '#/components/schemas/NameString'
- description: The name of the security configuration.
description: The encryption-at-rest settings of the transform that apply to accessing user data. Machine learning transforms can access user data encrypted in Amazon S3 using KMS.
Additionally, imported labels and trained transforms can now be encrypted using a customer provided KMS key.
NameString: type: string minLength: 1 maxLength: 255 x-pattern: '[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*' GlueTableAdditionalOptions: type: object minProperties: 1 maxProperties: 10 additionalProperties: $ref: '#/components/schemas/DescriptionString' HashString: type: string minLength: 1 maxLength: 255 x-pattern: '[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*' AccessDeniedException: {} OperationTimeoutException: {} WorkerType: type: string enum: - Standard - G.1X - G.2X - G.025X CreateMLTransformRequest: type: object required: - Name - InputRecordTables - Parameters - Role title: CreateMLTransformRequest properties: Name: allOf: - $ref: '#/components/schemas/NameString' - description: The unique name that you give the transform when you create it. Description: allOf: - $ref: '#/components/schemas/DescriptionString' - description: A description of the machine learning transform that is being defined. The default is an empty string. InputRecordTables: allOf: - $ref: '#/components/schemas/GlueTables' - description: A list of Glue table definitions used by the transform. Parameters: allOf: - $ref: '#/components/schemas/TransformParameters' - description: The algorithmic parameters that are specific to the transform type used. Conditionally dependent on the transform type. Role: allOf: - $ref: '#/components/schemas/RoleString' - description:The name or Amazon Resource Name (ARN) of the IAM role with the required permissions. The required permissions include both Glue service role permissions to Glue resources, and Amazon S3 permissions required by the transform.
This role needs Glue service role permissions to allow access to resources in Glue. See Attach a Policy to IAM Users That Access Glue.
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.
The number of 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 Glue pricing page.
MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.
If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot be set.
If MaxCapacity is set then neither NumberOfWorkers or WorkerType can be set.
If WorkerType is set, then NumberOfWorkers is required (and vice versa).
MaxCapacity and NumberOfWorkers must both be at least 1.
When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.
When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.
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.
MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.
If either NumberOfWorkers or WorkerType is set, then MaxCapacity cannot be set.
If MaxCapacity is set then neither NumberOfWorkers or WorkerType can be set.
If WorkerType is set, then NumberOfWorkers is required (and vice versa).
MaxCapacity and NumberOfWorkers must both be at least 1.
The number of workers of a defined workerType that are allocated when this task runs.
If WorkerType is set, then NumberOfWorkers is required (and vice versa).
TIMEOUT status. The default is 2,880 minutes (48 hours).
MaxRetries:
allOf:
- $ref: '#/components/schemas/NullableInteger'
- description: The maximum number of times to retry a task for this transform after a task run fails.
Tags:
allOf:
- $ref: '#/components/schemas/TagsMap'
- description: The tags to use with this machine learning transform. You may use tags to limit access to the machine learning transform. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
TransformEncryption:
allOf:
- $ref: '#/components/schemas/TransformEncryption'
- description: The encryption-at-rest settings of the transform that apply to accessing user data. Machine learning transforms can access user data encrypted in Amazon S3 using KMS.
TransformType:
type: string
enum:
- FIND_MATCHES
GlueVersionString:
type: string
pattern: ^\w+\.\w+$
minLength: 1
maxLength: 255
parameters:
X-Amz-Security-Token:
name: X-Amz-Security-Token
in: header
schema:
type: string
required: false
X-Amz-Algorithm:
name: X-Amz-Algorithm
in: header
schema:
type: string
required: false
X-Amz-Date:
name: X-Amz-Date
in: header
schema:
type: string
required: false
X-Amz-Credential:
name: X-Amz-Credential
in: header
schema:
type: string
required: false
X-Amz-Content-Sha256:
name: X-Amz-Content-Sha256
in: header
schema:
type: string
required: false
X-Amz-Signature:
name: X-Amz-Signature
in: header
schema:
type: string
required: false
X-Amz-SignedHeaders:
name: X-Amz-SignedHeaders
in: header
schema:
type: string
required: false
securitySchemes:
hmac:
type: apiKey
name: Authorization
in: header
description: Amazon Signature authorization v4
x-amazon-apigateway-authtype: awsSigv4
externalDocs:
description: Amazon Web Services documentation
url: https://docs.aws.amazon.com/glue/
x-hasEquivalentPaths: true