Class: Aws::OpenSearchService::Types::DirectQueryDataSourceType
- Inherits:
-
Struct
- Object
- Struct
- Aws::OpenSearchService::Types::DirectQueryDataSourceType
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-opensearchservice/types.rb
Overview
DirectQueryDataSourceType is a union - when making an API calls you must set exactly one of the members.
DirectQueryDataSourceType is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DirectQueryDataSourceType corresponding to the set member.
The type of data source that is used for direct queries. This is a supported Amazon Web Services service, such as CloudWatch Logs or Security Lake.
Direct Known Subclasses
Defined Under Namespace
Classes: CloudWatchLog, SecurityLake, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#cloud_watch_log ⇒ Types::CloudWatchDirectQueryDataSource
Specifies CloudWatch Logs as a type of data source for direct queries.
-
#security_lake ⇒ Types::SecurityLakeDirectQueryDataSource
Specifies Security Lake as a type of data source for direct queries.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#cloud_watch_log ⇒ Types::CloudWatchDirectQueryDataSource
Specifies CloudWatch Logs as a type of data source for direct queries.
3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 |
# File 'lib/aws-sdk-opensearchservice/types.rb', line 3077 class DirectQueryDataSourceType < Struct.new( :cloud_watch_log, :security_lake, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class CloudWatchLog < DirectQueryDataSourceType; end class SecurityLake < DirectQueryDataSourceType; end class Unknown < DirectQueryDataSourceType; end end |
#security_lake ⇒ Types::SecurityLakeDirectQueryDataSource
Specifies Security Lake as a type of data source for direct queries.
3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 |
# File 'lib/aws-sdk-opensearchservice/types.rb', line 3077 class DirectQueryDataSourceType < Struct.new( :cloud_watch_log, :security_lake, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class CloudWatchLog < DirectQueryDataSourceType; end class SecurityLake < DirectQueryDataSourceType; end class Unknown < DirectQueryDataSourceType; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
3077 3078 3079 |
# File 'lib/aws-sdk-opensearchservice/types.rb', line 3077 def unknown @unknown end |