Class: Aws::QApps::Types::CardInput

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

Overview

Note:

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

Note:

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

The properties defining an input card in an Amazon Q App.

Direct Known Subclasses

FileUpload, QPlugin, QQuery, TextInput, Unknown

Defined Under Namespace

Classes: FileUpload, QPlugin, QQuery, TextInput, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#file_uploadTypes::FileUploadCardInput

A container for the properties of the file upload input card.



274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
# File 'gems/aws-sdk-qapps/lib/aws-sdk-qapps/types.rb', line 274

class CardInput < Struct.new(
  :text_input,
  :q_query,
  :q_plugin,
  :file_upload,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class TextInput < CardInput; end
  class QQuery < CardInput; end
  class QPlugin < CardInput; end
  class FileUpload < CardInput; end
  class Unknown < CardInput; end
end

#q_pluginTypes::QPluginCardInput

A container for the properties of the plugin input card.



274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
# File 'gems/aws-sdk-qapps/lib/aws-sdk-qapps/types.rb', line 274

class CardInput < Struct.new(
  :text_input,
  :q_query,
  :q_plugin,
  :file_upload,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class TextInput < CardInput; end
  class QQuery < CardInput; end
  class QPlugin < CardInput; end
  class FileUpload < CardInput; end
  class Unknown < CardInput; end
end

#q_queryTypes::QQueryCardInput

A container for the properties of the query input card.



274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
# File 'gems/aws-sdk-qapps/lib/aws-sdk-qapps/types.rb', line 274

class CardInput < Struct.new(
  :text_input,
  :q_query,
  :q_plugin,
  :file_upload,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class TextInput < CardInput; end
  class QQuery < CardInput; end
  class QPlugin < CardInput; end
  class FileUpload < CardInput; end
  class Unknown < CardInput; end
end

#text_inputTypes::TextInputCardInput

A container for the properties of the text input card.



274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
# File 'gems/aws-sdk-qapps/lib/aws-sdk-qapps/types.rb', line 274

class CardInput < Struct.new(
  :text_input,
  :q_query,
  :q_plugin,
  :file_upload,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class TextInput < CardInput; end
  class QQuery < CardInput; end
  class QPlugin < CardInput; end
  class FileUpload < CardInput; end
  class Unknown < CardInput; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



274
275
276
# File 'gems/aws-sdk-qapps/lib/aws-sdk-qapps/types.rb', line 274

def unknown
  @unknown
end