openapi: 3.0.0
info:
version: '2017-03-31'
x-release: v4
title: 'AWS Glue #X Amz Target=AWSGlue.BatchCreatePartition #X Amz Target=AWSGlue.BatchCreatePartition #X Amz Target=AWSGlue.UpdateClassifier API'
description:
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: '#X Amz Target=AWSGlue.UpdateClassifier' paths: /#X-Amz-Target=AWSGlue.UpdateClassifier: 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: UpdateClassifier description: Modifies an existing classifier (aGrokClassifier, an XMLClassifier, a JsonClassifier, or a CsvClassifier, depending on which field is present).
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateClassifierResponse'
examples:
UpdateClassifier200Example:
summary: Default UpdateClassifier 200 response
x-microcks-default: true
value:
JobRunId: jr_abc123
State: SUCCEEDED
'480':
description: InvalidInputException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidInputException'
examples:
UpdateClassifier480Example:
summary: Default UpdateClassifier 480 response
x-microcks-default: true
value:
JobRunId: jr_abc123
State: SUCCEEDED
'481':
description: VersionMismatchException
content:
application/json:
schema:
$ref: '#/components/schemas/VersionMismatchException'
examples:
UpdateClassifier481Example:
summary: Default UpdateClassifier 481 response
x-microcks-default: true
value:
JobRunId: jr_abc123
State: SUCCEEDED
'482':
description: EntityNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/EntityNotFoundException'
examples:
UpdateClassifier482Example:
summary: Default UpdateClassifier 482 response
x-microcks-default: true
value:
JobRunId: jr_abc123
State: SUCCEEDED
'483':
description: OperationTimeoutException
content:
application/json:
schema:
$ref: '#/components/schemas/OperationTimeoutException'
examples:
UpdateClassifier483Example:
summary: Default UpdateClassifier 483 response
x-microcks-default: true
value:
JobRunId: jr_abc123
State: SUCCEEDED
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateClassifierRequest'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- AWSGlue.UpdateClassifier
summary: Amazon Glue Update Classifier
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
tags:
- '#X Amz Target=AWSGlue.UpdateClassifier'
components:
schemas:
VersionMismatchException: {}
JsonPath:
type: string
EntityNotFoundException: {}
UpdateCsvClassifierRequest:
type: object
required:
- Name
properties:
Name:
allOf:
- $ref: '#/components/schemas/NameString'
- description: The name of the classifier.
Delimiter:
allOf:
- $ref: '#/components/schemas/CsvColumnDelimiter'
- description: A custom symbol to denote what separates each column entry in the row.
QuoteSymbol:
allOf:
- $ref: '#/components/schemas/CsvQuoteSymbol'
- description: A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.
ContainsHeader:
allOf:
- $ref: '#/components/schemas/CsvHeaderOption'
- description: Indicates whether the CSV file contains a header.
Header:
allOf:
- $ref: '#/components/schemas/CsvHeader'
- description: A list of strings representing column names.
DisableValueTrimming:
allOf:
- $ref: '#/components/schemas/NullableBoolean'
- description: Specifies not to trim values before identifying the type of column values. The default value is true.
AllowSingleColumn:
allOf:
- $ref: '#/components/schemas/NullableBoolean'
- description: Enables the processing of files that contain only one column.
CustomDatatypeConfigured:
allOf:
- $ref: '#/components/schemas/NullableBoolean'
- description: Specifies the configuration of custom datatypes.
CustomDatatypes:
allOf:
- $ref: '#/components/schemas/CustomDatatypes'
- description: Specifies a list of supported custom datatypes.
description: Specifies a custom CSV classifier to be updated.
NullableBoolean:
type: boolean
UpdateClassifierRequest:
type: object
title: UpdateClassifierRequest
properties:
GrokClassifier:
allOf:
- $ref: '#/components/schemas/UpdateGrokClassifierRequest'
- description: A GrokClassifier object with updated fields.
XMLClassifier:
allOf:
- $ref: '#/components/schemas/UpdateXMLClassifierRequest'
- description: An XMLClassifier object with updated fields.
JsonClassifier:
allOf:
- $ref: '#/components/schemas/UpdateJsonClassifierRequest'
- description: A JsonClassifier object with updated fields.
CsvClassifier:
allOf:
- $ref: '#/components/schemas/UpdateCsvClassifierRequest'
- description: A CsvClassifier object with updated fields.
GrokPattern:
type: string
minLength: 1
maxLength: 2048
x-pattern: '[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\t]*'
OperationTimeoutException: {}
UpdateJsonClassifierRequest:
type: object
required:
- Name
properties:
Name:
allOf:
- $ref: '#/components/schemas/NameString'
- description: The name of the classifier.
JsonPath:
allOf:
- $ref: '#/components/schemas/JsonPath'
- description: A JsonPath string defining the JSON data for the classifier to classify. Glue supports a subset of JsonPath, as described in Writing JsonPath Custom Classifiers.
description: Specifies a JSON classifier to be updated.
CsvHeaderOption:
type: string
enum:
- UNKNOWN
- PRESENT
- ABSENT
CsvQuoteSymbol:
type: string
pattern: '[^\r\n]'
minLength: 1
maxLength: 1
CustomDatatypes:
type: array
items:
$ref: '#/components/schemas/NameString'
CustomPatterns:
type: string
minLength: 0
maxLength: 16000
x-pattern: '[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*'
CsvHeader:
type: array
items:
$ref: '#/components/schemas/NameString'
Classification:
type: string
UpdateXMLClassifierRequest:
type: object
required:
- Name
properties:
Name:
allOf:
- $ref: '#/components/schemas/NameString'
- description: The name of the classifier.
Classification:
allOf:
- $ref: '#/components/schemas/Classification'
- description: An identifier of the data format that the classifier matches.
RowTag:
allOf:
- $ref: '#/components/schemas/RowTag'
- description: 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).
description: Specifies an XML classifier to be updated.
RowTag:
type: string
UpdateClassifierResponse:
type: object
properties: {}
NameString:
type: string
minLength: 1
maxLength: 255
x-pattern: '[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*'
InvalidInputException: {}
CsvColumnDelimiter:
type: string
pattern: '[^\r\n]'
minLength: 1
maxLength: 1
UpdateGrokClassifierRequest:
type: object
required:
- Name
properties:
Name:
allOf:
- $ref: '#/components/schemas/NameString'
- description: The name of the GrokClassifier.
Classification:
allOf:
- $ref: '#/components/schemas/Classification'
- description: An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
GrokPattern:
allOf:
- $ref: '#/components/schemas/GrokPattern'
- description: The grok pattern used by this classifier.
CustomPatterns:
allOf:
- $ref: '#/components/schemas/CustomPatterns'
- description: Optional custom grok patterns used by this classifier.
description: Specifies a grok classifier to update when passed to UpdateClassifier.
parameters:
X-Amz-SignedHeaders:
name: X-Amz-SignedHeaders
in: header
schema:
type: string
required: false
X-Amz-Signature:
name: X-Amz-Signature
in: header
schema:
type: string
required: false
X-Amz-Security-Token:
name: X-Amz-Security-Token
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-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-Algorithm:
name: X-Amz-Algorithm
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