Class: Aws::Context::Types::PathSegment

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-context/lib/aws-sdk-context/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#id ⇒ String

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.

Returns:

  • (String)


5577
5578
5579
5580
5581
5582
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 5577

class PathSegment < Struct.new(
  :level,
  :id)
  SENSITIVE = []
  include Aws::Structure
end

#level ⇒ String

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

Returns:

  • (String)


5577
5578
5579
5580
5581
5582
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 5577

class PathSegment < Struct.new(
  :level,
  :id)
  SENSITIVE = []
  include Aws::Structure
end