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_id ⇒ String

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

Returns:

  • (String)


967
968
969
970
971
972
973
974
975
976
977
978
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 967

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_id ⇒ String

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

Returns:

  • (String)


967
968
969
970
971
972
973
974
975
976
977
978
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 967

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

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



967
968
969
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 967

def unknown
  @unknown
end