View a markdown version of this page

PathSegment - AWS Context

PathSegment

One segment of a resource hierarchy path: the hierarchy level, such as database or table, and the id of the resource at that level. Both are required.

In a GLUE_DATA_CATALOG connection's scope, the level glueService names a service instead of a resource. Its id is one of the following:

  • GLUE - AWS Glue databases and tables.

  • SAGEMAKER_AI - Amazon SageMaker AI resources.

  • REDSHIFT - Amazon Redshift resources.

  • RDS - Amazon RDS resources.

  • MSK - Amazon Managed Streaming for Apache Kafka (Amazon MSK) resources.

  • KINESIS - Amazon Kinesis Data Streams resources.

  • FIREHOSE - Amazon Data Firehose resources.

  • DYNAMODB - Amazon DynamoDB resources.

  • KEYSPACES - Amazon Keyspaces (for Apache Cassandra) resources.

  • ELASTICACHE - Amazon ElastiCache resources.

  • OPENSEARCH - Amazon OpenSearch Service resources.

  • NEPTUNE - Amazon Neptune resources.

  • TIMESTREAM - Amazon Timestream resources.

  • ATHENA - Amazon Athena resources.

  • GLUE_SCHEMA_REGISTRY - AWS Glue Schema Registry resources.

  • S3 - Amazon S3 resources.

  • S3_VECTORS - Amazon S3 Vectors resources.

Every later segment of the selector must name a level of that service. Any other value, a second glueService segment, or a glueService segment in any other position returns ValidationException. A resource path never contains glueService.

Contents

id

The ID of the resource at this level. Non-blank. Can contain spaces, backticks, and % (it is a resource name), but no control characters. AWS Context matches it exactly.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Pattern: [^\p{Cc}\p{Zl}\p{Zp}]+

Required: Yes

level

The hierarchy level name for this segment (for example, "database", "table"). Non-blank, no whitespace.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Pattern: [^\s`]+

Required: Yes

See Also

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