Class: Aws::CloudWatchOmni::Types::TargetDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchOmni::Types::TargetDefinition
- Defined in:
- gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb
Overview
TargetDefinition is a union - when making an API calls you must set exactly one of the members.
TargetDefinition is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of TargetDefinition corresponding to the set member.
The kind of target, with its identity.
Defined Under Namespace
Classes: AgentCoreRuntime, Custom, HttpsEndpoint, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#agent_core_runtime ⇒ Types::AgentCoreRuntimeDefinition
An AgentCore Runtime, identified by its ARN.
-
#custom ⇒ Types::Unit
Any other target, such as a prompt, a model, or a script.
-
#https_endpoint ⇒ Types::HttpsEndpointDefinition
A service reached over HTTPS, identified by its base URL.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#agent_core_runtime ⇒ Types::AgentCoreRuntimeDefinition
An AgentCore Runtime, identified by its ARN.
9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9665 class TargetDefinition < Struct.new( :agent_core_runtime, :https_endpoint, :custom, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AgentCoreRuntime < TargetDefinition; end class HttpsEndpoint < TargetDefinition; end class Custom < TargetDefinition; end class Unknown < TargetDefinition; end end |
#custom ⇒ Types::Unit
Any other target, such as a prompt, a model, or a script. Reported runs only.
9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9665 class TargetDefinition < Struct.new( :agent_core_runtime, :https_endpoint, :custom, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AgentCoreRuntime < TargetDefinition; end class HttpsEndpoint < TargetDefinition; end class Custom < TargetDefinition; end class Unknown < TargetDefinition; end end |
#https_endpoint ⇒ Types::HttpsEndpointDefinition
A service reached over HTTPS, identified by its base URL.
9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9665 class TargetDefinition < Struct.new( :agent_core_runtime, :https_endpoint, :custom, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AgentCoreRuntime < TargetDefinition; end class HttpsEndpoint < TargetDefinition; end class Custom < TargetDefinition; end class Unknown < TargetDefinition; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
9665 9666 9667 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9665 def unknown @unknown end |