GetClassifiers - AWS Glue

GetClassifiers

Lists all classifier objects in the Data Catalog.

Request Syntax

{ "MaxResults": number, "NextToken": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

MaxResults

The size of the list to return (optional).

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 1000.

Required: No

NextToken

An optional continuation token.

Type: String

Required: No

Response Syntax

{ "Classifiers": [ { "CsvClassifier": { "AllowSingleColumn": boolean, "ContainsHeader": "string", "CreationTime": number, "CustomDatatypeConfigured": boolean, "CustomDatatypes": [ "string" ], "Delimiter": "string", "DisableValueTrimming": boolean, "Header": [ "string" ], "LastUpdated": number, "Name": "string", "QuoteSymbol": "string", "Serde": "string", "Version": number }, "GrokClassifier": { "Classification": "string", "CreationTime": number, "CustomPatterns": "string", "GrokPattern": "string", "LastUpdated": number, "Name": "string", "Version": number }, "JsonClassifier": { "CreationTime": number, "JsonPath": "string", "LastUpdated": number, "Name": "string", "Version": number }, "XMLClassifier": { "Classification": "string", "CreationTime": number, "LastUpdated": number, "Name": "string", "RowTag": "string", "Version": number } } ], "NextToken": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

Classifiers

The requested list of classifier objects.

Type: Array of Classifier objects

NextToken

A continuation token.

Type: String

Errors

For information about the errors that are common to all actions, see Common Errors.

OperationTimeoutException

The operation timed out.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: