Class: Aws::QuickSight::Types::CustomPromptInput

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

Overview

Note:

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

The custom prompt input for an agent. This is a union type that can be either an existing prompt profile or new prompt parameters.

Defined Under Namespace

Classes: ExistingPrompt, NewPrompt, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#existing_prompt ⇒ Types::CustomPromptProfile

An existing custom prompt profile to use for the agent.



13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 13877

class CustomPromptInput < Struct.new(
  :existing_prompt,
  :new_prompt,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ExistingPrompt < CustomPromptInput; end
  class NewPrompt < CustomPromptInput; end
  class Unknown < CustomPromptInput; end
end

#new_prompt ⇒ Types::CustomPromptInputParameters

New custom prompt parameters to configure for the agent.



13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 13877

class CustomPromptInput < Struct.new(
  :existing_prompt,
  :new_prompt,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ExistingPrompt < CustomPromptInput; end
  class NewPrompt < CustomPromptInput; end
  class Unknown < CustomPromptInput; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



13877
13878
13879
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 13877

def unknown
  @unknown
end