Common Data Types - AWS Glue
AWS 文档中描述的 AWS 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅中国的 AWS 服务入门

如果我们为英文版本指南提供翻译,那么如果存在任何冲突,将以英文版本指南为准。在提供翻译时使用机器翻译。

Common Data Types

常见数据类型介绍 AWS Glue 中的各种常见的数据类型。

Tag Structure

Tag 对象表示用户可分配给 AWS 资源的标签。每个标签都包含您定义的一个键和一个可选值。

有关标签以及如何控制对 AWS Glue 中资源的访问的更多信息,请参阅开发人员指南中的 AWS Glue 中的 AWS 标签指定 AWS Glue 资源 ARN

Fields

  • key – UTF-8 string, not less than 1 or more than 128 bytes long.

    The tag key. The key is required when you create a tag on an object. The key is case-sensitive, and must not contain the prefix aws.

  • value – UTF-8 string, not more than 256 bytes long.

    The tag value. The value is optional when you create a tag on an object. The value is case-sensitive, and must not contain the prefix aws.

DecimalNumber Structure

包含以十进制格式表示的数字值。

Fields

  • UnscaledValueRequired: Blob.

    The unscaled numeric value.

  • ScaleRequired: Number (integer).

    The scale that determines where the decimal point falls in the unscaled value.

ErrorDetail Structure

包含有关错误的详细信息。

Fields

PropertyPredicate Structure

定义属性谓词。

Fields

  • Key – Value string, not more than 1024 bytes long.

    The key of the property.

  • Value – Value string, not more than 1024 bytes long.

    The value of the property.

  • Comparator – UTF-8 string (valid values: EQUALS | GREATER_THAN | LESS_THAN | GREATER_THAN_EQUALS | LESS_THAN_EQUALS).

    The comparator used to compare this property to others.

ResourceUri Structure

函数资源的 URI。

Fields

  • ResourceType – UTF-8 string (valid values: JAR | FILE | ARCHIVE).

    The type of the resource.

  • Uri – Uniform resource identifier (uri), not less than 1 or more than 1024 bytes long, matching the URI address multi-line string pattern.

    The URI for accessing the resource.

String Patterns

API 使用以下正则表达式来定义对于各种字符串参数和成员有效的内容:

  • Single-line string pattern – "[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*"

  • URI address multi-line string pattern – "[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*"

  • A Logstash Grok string pattern – "[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\t]*"

  • Identifier string pattern – "[A-Za-z_][A-Za-z0-9_]*"

  • AWS Glue ARN string pattern – "arn:aws:glue:.*"

  • AWS IAM ARN string pattern – "arn:aws:iam::\d{12}:role/.*"

  • Version string pattern – "^[a-zA-Z0-9-_]+$"

  • Log group string pattern – "[\.\-_/#A-Za-z0-9]+"

  • Log-stream string pattern – "[^:*]*"

  • Custom string pattern #10 – "[^\r\n]"

  • Custom string pattern #11 – "^[2-3]$"

  • Custom string pattern #12 – "^\w+\.\w+\.\w+$"

  • Custom string pattern #13 – "^\w+\.\w+$"

  • Custom string pattern #14 – "arn:aws:kms:.*"