Class: Aws::QConnect::Types::AgentTarget

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

Overview

Note:

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

Note:

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

A union that identifies a collaborator agent to engage. Specify either an Amazon Connect AI Agent or a third-party agent.

Defined Under Namespace

Classes: AiAgentId, ApplicationId, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ai_agent_idString

The identifier of an Amazon Connect AI Agent to use as the collaborator agent.

Returns:

  • (String)


956
957
958
959
960
961
962
963
964
965
966
967
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 956

class AgentTarget < Struct.new(
  :ai_agent_id,
  :application_id,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AiAgentId < AgentTarget; end
  class ApplicationId < AgentTarget; end
  class Unknown < AgentTarget; end
end

#application_idString

The identifier of a third-party agent to use as the collaborator agent.

Returns:

  • (String)


956
957
958
959
960
961
962
963
964
965
966
967
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 956

class AgentTarget < Struct.new(
  :ai_agent_id,
  :application_id,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AiAgentId < AgentTarget; end
  class ApplicationId < AgentTarget; end
  class Unknown < AgentTarget; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



956
957
958
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 956

def unknown
  @unknown
end