Class: Aws::CloudWatchOmni::Types::TargetDefinition

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

Overview

Note:

TargetDefinition is a union - when making an API calls you must set exactly one of the members.

Note:

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

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.

Returns:

  • (Types::Unit)


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

Returns:

  • (Object) —

    the current value of unknown



9665
9666
9667
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9665

def unknown
  @unknown
end