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.



12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 12941

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.



12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 12941

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



12941
12942
12943
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 12941

def unknown
  @unknown
end