Class: Aws::BedrockAgentCoreControl::Types::Action

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

Overview

Note:

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

Note:

Action is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Action corresponding to the set member.

An action to take when a gateway rule's conditions are met.

Defined Under Namespace

Classes: ConfigurationBundle, RouteToTarget, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#configuration_bundle ⇒ Types::ConfigurationBundleAction

An action that applies a configuration bundle override to the request.



61
62
63
64
65
66
67
68
69
70
71
72
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 61

class Action < Struct.new(
  :configuration_bundle,
  :route_to_target,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ConfigurationBundle < Action; end
  class RouteToTarget < Action; end
  class Unknown < Action; end
end

#route_to_target ⇒ Types::RouteToTargetAction

An action that routes the request to a specific target.



61
62
63
64
65
66
67
68
69
70
71
72
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 61

class Action < Struct.new(
  :configuration_bundle,
  :route_to_target,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ConfigurationBundle < Action; end
  class RouteToTarget < Action; end
  class Unknown < Action; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



61
62
63
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 61

def unknown
  @unknown
end