Note:

You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . qbusiness ]

chat-sync

Description

Starts or continues a non-streaming Amazon Q Business conversation.

See also: AWS API Documentation

chat-sync uses document type values. Document types follow the JSON data model where valid values are: strings, numbers, booleans, null, arrays, and objects. For command input, options and nested parameters that are labeled with the type document must be provided as JSON. Shorthand syntax does not support document types.

Synopsis

  chat-sync
--application-id <value>
[--user-id <value>]
[--user-groups <value>]
[--user-message <value>]
[--attachments <value>]
[--action-execution <value>]
[--auth-challenge-response <value>]
[--conversation-id <value>]
[--parent-message-id <value>]
[--attribute-filter <value>]
[--chat-mode <value>]
[--chat-mode-configuration <value>]
[--client-token <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]

Options

--application-id (string)

The identifier of the Amazon Q Business application linked to the Amazon Q Business conversation.

--user-id (string)

The identifier of the user attached to the chat input.

--user-groups (list)

The groups that a user associated with the chat input belongs to.

(string)

Syntax:

"string" "string" ...

--user-message (string)

A end user message in a conversation.

--attachments (list)

A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.

(structure)

A file directly uploaded into a web experience chat.

name -> (string)

The name of the file.

data -> (blob)

The data contained within the uploaded file.

Shorthand Syntax:

name=string,data=blob ...

JSON Syntax:

[
  {
    "name": "string",
    "data": blob
  }
  ...
]

--action-execution (structure)

A request from an end user to perform an Amazon Q Business plugin action.

pluginId -> (string)

The identifier of the plugin the action is attached to.

payload -> (map)

A mapping of field names to the field values in input that an end user provides to Amazon Q Business requests to perform their plugin action.

key -> (string)

value -> (structure)

A user input field in an plugin action execution payload.

value -> (document)

The content of a user input field in an plugin action execution payload.

payloadFieldNameSeparator -> (string)

A string used to retain information about the hierarchical contexts within an action execution event payload.

Shorthand Syntax:

pluginId=string,payload={KeyName1={},KeyName2={}},payloadFieldNameSeparator=string

JSON Syntax:

{
  "pluginId": "string",
  "payload": {"string": {
        "value": {...}
      }
    ...},
  "payloadFieldNameSeparator": "string"
}

--auth-challenge-response (structure)

An authentication verification event response by a third party authentication server to Amazon Q Business.

responseMap -> (map)

The mapping of key-value pairs in an authentication challenge response.

key -> (string)

value -> (string)

Shorthand Syntax:

responseMap={KeyName1=string,KeyName2=string}

JSON Syntax:

{
  "responseMap": {"string": "string"
    ...}
}

--conversation-id (string)

The identifier of the Amazon Q Business conversation.

--parent-message-id (string)

The identifier of the previous end user text input message in a conversation.

--attribute-filter (structure)

Enables filtering of Amazon Q Business web experience responses based on document attributes or metadata fields.

andAllFilters -> (list)

Performs a logical AND operation on all supplied filters.

(structure)

Enables filtering of responses based on document attributes or metadata fields.

andAllFilters -> (list)

Performs a logical AND operation on all supplied filters.

( ... recursive ... )

orAllFilters -> (list)

Performs a logical OR operation on all supplied filters.

( ... recursive ... )

( ... recursive ... )equalsTo -> (structure)

Performs an equals operation on two document attributes or metadata fields. Supported for the following document attribute value types : dateValue , longValue , stringListValue and stringValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

containsAll -> (structure)

Returns true when a document contains all the specified document attributes or metadata fields. Supported for the following document attribute value types : stringListValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

containsAny -> (structure)

Returns true when a document contains any of the specified document attributes or metadata fields. Supported for the following document attribute value types : dateValue , longValue , stringListValue and stringValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

greaterThan -> (structure)

Performs a greater than operation on two document attributes or metadata fields. Supported for the following document attribute value types : dateValue and longValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

greaterThanOrEquals -> (structure)

Performs a greater or equals than operation on two document attributes or metadata fields. Supported for the following document attribute value types : dateValue and longValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

lessThan -> (structure)

Performs a less than operation on two document attributes or metadata fields. Supported for the following document attribute value types : dateValue and longValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

lessThanOrEquals -> (structure)

Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type : dateValue and longValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

orAllFilters -> (list)

Performs a logical OR operation on all supplied filters.

(structure)

Enables filtering of responses based on document attributes or metadata fields.

andAllFilters -> (list)

Performs a logical AND operation on all supplied filters.

( ... recursive ... )

orAllFilters -> (list)

Performs a logical OR operation on all supplied filters.

( ... recursive ... )

( ... recursive ... )equalsTo -> (structure)

Performs an equals operation on two document attributes or metadata fields. Supported for the following document attribute value types : dateValue , longValue , stringListValue and stringValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

containsAll -> (structure)

Returns true when a document contains all the specified document attributes or metadata fields. Supported for the following document attribute value types : stringListValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

containsAny -> (structure)

Returns true when a document contains any of the specified document attributes or metadata fields. Supported for the following document attribute value types : dateValue , longValue , stringListValue and stringValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

greaterThan -> (structure)

Performs a greater than operation on two document attributes or metadata fields. Supported for the following document attribute value types : dateValue and longValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

greaterThanOrEquals -> (structure)

Performs a greater or equals than operation on two document attributes or metadata fields. Supported for the following document attribute value types : dateValue and longValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

lessThan -> (structure)

Performs a less than operation on two document attributes or metadata fields. Supported for the following document attribute value types : dateValue and longValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

lessThanOrEquals -> (structure)

Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type : dateValue and longValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

notFilter -> (structure)

Performs a logical NOT operation on all supplied filters.

andAllFilters -> (list)

Performs a logical AND operation on all supplied filters.

( ... recursive ... )

orAllFilters -> (list)

Performs a logical OR operation on all supplied filters.

( ... recursive ... )

( ... recursive ... )equalsTo -> (structure)

Performs an equals operation on two document attributes or metadata fields. Supported for the following document attribute value types : dateValue , longValue , stringListValue and stringValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

containsAll -> (structure)

Returns true when a document contains all the specified document attributes or metadata fields. Supported for the following document attribute value types : stringListValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

containsAny -> (structure)

Returns true when a document contains any of the specified document attributes or metadata fields. Supported for the following document attribute value types : dateValue , longValue , stringListValue and stringValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

greaterThan -> (structure)

Performs a greater than operation on two document attributes or metadata fields. Supported for the following document attribute value types : dateValue and longValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

greaterThanOrEquals -> (structure)

Performs a greater or equals than operation on two document attributes or metadata fields. Supported for the following document attribute value types : dateValue and longValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

lessThan -> (structure)

Performs a less than operation on two document attributes or metadata fields. Supported for the following document attribute value types : dateValue and longValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

lessThanOrEquals -> (structure)

Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type : dateValue and longValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

equalsTo -> (structure)

Performs an equals operation on two document attributes or metadata fields. Supported for the following document attribute value types : dateValue , longValue , stringListValue and stringValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

containsAll -> (structure)

Returns true when a document contains all the specified document attributes or metadata fields. Supported for the following document attribute value types : stringListValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

containsAny -> (structure)

Returns true when a document contains any of the specified document attributes or metadata fields. Supported for the following document attribute value types : dateValue , longValue , stringListValue and stringValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

greaterThan -> (structure)

Performs a greater than operation on two document attributes or metadata fields. Supported for the following document attribute value types : dateValue and longValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

greaterThanOrEquals -> (structure)

Performs a greater or equals than operation on two document attributes or metadata fields. Supported for the following document attribute value types : dateValue and longValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

lessThan -> (structure)

Performs a less than operation on two document attributes or metadata fields. Supported for the following document attribute value types : dateValue and longValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

lessThanOrEquals -> (structure)

Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type : dateValue and longValue .

name -> (string)

The identifier for the attribute.

value -> (tagged union structure)

The value of the attribute.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: stringValue, stringListValue, longValue, dateValue.

stringValue -> (string)

A string.

stringListValue -> (list)

A list of strings.

(string)

longValue -> (long)

A long integer value.

dateValue -> (timestamp)

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

JSON Syntax:

{
  "andAllFilters": [
    {
      "andAllFilters": [
        { ... recursive ... }
        ...
      ],
      "orAllFilters": [
        { ... recursive ... }
        ...
      ],
      "notFilter": { ... recursive ... },
      "equalsTo": {
        "name": "string",
        "value": {
          "stringValue": "string",
          "stringListValue": ["string", ...],
          "longValue": long,
          "dateValue": timestamp
        }
      },
      "containsAll": {
        "name": "string",
        "value": {
          "stringValue": "string",
          "stringListValue": ["string", ...],
          "longValue": long,
          "dateValue": timestamp
        }
      },
      "containsAny": {
        "name": "string",
        "value": {
          "stringValue": "string",
          "stringListValue": ["string", ...],
          "longValue": long,
          "dateValue": timestamp
        }
      },
      "greaterThan": {
        "name": "string",
        "value": {
          "stringValue": "string",
          "stringListValue": ["string", ...],
          "longValue": long,
          "dateValue": timestamp
        }
      },
      "greaterThanOrEquals": {
        "name": "string",
        "value": {
          "stringValue": "string",
          "stringListValue": ["string", ...],
          "longValue": long,
          "dateValue": timestamp
        }
      },
      "lessThan": {
        "name": "string",
        "value": {
          "stringValue": "string",
          "stringListValue": ["string", ...],
          "longValue": long,
          "dateValue": timestamp
        }
      },
      "lessThanOrEquals": {
        "name": "string",
        "value": {
          "stringValue": "string",
          "stringListValue": ["string", ...],
          "longValue": long,
          "dateValue": timestamp
        }
      }
    }
    ...
  ],
  "orAllFilters": [
    {
      "andAllFilters": [
        { ... recursive ... }
        ...
      ],
      "orAllFilters": [
        { ... recursive ... }
        ...
      ],
      "notFilter": { ... recursive ... },
      "equalsTo": {
        "name": "string",
        "value": {
          "stringValue": "string",
          "stringListValue": ["string", ...],
          "longValue": long,
          "dateValue": timestamp
        }
      },
      "containsAll": {
        "name": "string",
        "value": {
          "stringValue": "string",
          "stringListValue": ["string", ...],
          "longValue": long,
          "dateValue": timestamp
        }
      },
      "containsAny": {
        "name": "string",
        "value": {
          "stringValue": "string",
          "stringListValue": ["string", ...],
          "longValue": long,
          "dateValue": timestamp
        }
      },
      "greaterThan": {
        "name": "string",
        "value": {
          "stringValue": "string",
          "stringListValue": ["string", ...],
          "longValue": long,
          "dateValue": timestamp
        }
      },
      "greaterThanOrEquals": {
        "name": "string",
        "value": {
          "stringValue": "string",
          "stringListValue": ["string", ...],
          "longValue": long,
          "dateValue": timestamp
        }
      },
      "lessThan": {
        "name": "string",
        "value": {
          "stringValue": "string",
          "stringListValue": ["string", ...],
          "longValue": long,
          "dateValue": timestamp
        }
      },
      "lessThanOrEquals": {
        "name": "string",
        "value": {
          "stringValue": "string",
          "stringListValue": ["string", ...],
          "longValue": long,
          "dateValue": timestamp
        }
      }
    }
    ...
  ],
  "notFilter": {
    "andAllFilters": [
      { ... recursive ... }
      ...
    ],
    "orAllFilters": [
      { ... recursive ... }
      ...
    ],
    "notFilter": { ... recursive ... },
    "equalsTo": {
      "name": "string",
      "value": {
        "stringValue": "string",
        "stringListValue": ["string", ...],
        "longValue": long,
        "dateValue": timestamp
      }
    },
    "containsAll": {
      "name": "string",
      "value": {
        "stringValue": "string",
        "stringListValue": ["string", ...],
        "longValue": long,
        "dateValue": timestamp
      }
    },
    "containsAny": {
      "name": "string",
      "value": {
        "stringValue": "string",
        "stringListValue": ["string", ...],
        "longValue": long,
        "dateValue": timestamp
      }
    },
    "greaterThan": {
      "name": "string",
      "value": {
        "stringValue": "string",
        "stringListValue": ["string", ...],
        "longValue": long,
        "dateValue": timestamp
      }
    },
    "greaterThanOrEquals": {
      "name": "string",
      "value": {
        "stringValue": "string",
        "stringListValue": ["string", ...],
        "longValue": long,
        "dateValue": timestamp
      }
    },
    "lessThan": {
      "name": "string",
      "value": {
        "stringValue": "string",
        "stringListValue": ["string", ...],
        "longValue": long,
        "dateValue": timestamp
      }
    },
    "lessThanOrEquals": {
      "name": "string",
      "value": {
        "stringValue": "string",
        "stringListValue": ["string", ...],
        "longValue": long,
        "dateValue": timestamp
      }
    }
  },
  "equalsTo": {
    "name": "string",
    "value": {
      "stringValue": "string",
      "stringListValue": ["string", ...],
      "longValue": long,
      "dateValue": timestamp
    }
  },
  "containsAll": {
    "name": "string",
    "value": {
      "stringValue": "string",
      "stringListValue": ["string", ...],
      "longValue": long,
      "dateValue": timestamp
    }
  },
  "containsAny": {
    "name": "string",
    "value": {
      "stringValue": "string",
      "stringListValue": ["string", ...],
      "longValue": long,
      "dateValue": timestamp
    }
  },
  "greaterThan": {
    "name": "string",
    "value": {
      "stringValue": "string",
      "stringListValue": ["string", ...],
      "longValue": long,
      "dateValue": timestamp
    }
  },
  "greaterThanOrEquals": {
    "name": "string",
    "value": {
      "stringValue": "string",
      "stringListValue": ["string", ...],
      "longValue": long,
      "dateValue": timestamp
    }
  },
  "lessThan": {
    "name": "string",
    "value": {
      "stringValue": "string",
      "stringListValue": ["string", ...],
      "longValue": long,
      "dateValue": timestamp
    }
  },
  "lessThanOrEquals": {
    "name": "string",
    "value": {
      "stringValue": "string",
      "stringListValue": ["string", ...],
      "longValue": long,
      "dateValue": timestamp
    }
  }
}

--chat-mode (string)

The chat modes available to an Amazon Q Business end user.

  • RETRIEVAL_MODE - The default chat mode for an Amazon Q Business application. When this mode is enabled, Amazon Q Business generates responses only from data sources connected to an Amazon Q Business application.
  • CREATOR_MODE - By selecting this mode, users can choose to generate responses only from the LLM knowledge, without consulting connected data sources, for a chat request.
  • PLUGIN_MODE - By selecting this mode, users can choose to use plugins in chat.

For more information, see Admin controls and guardrails , Plugins , and Conversation settings .

Possible values:

  • RETRIEVAL_MODE
  • CREATOR_MODE
  • PLUGIN_MODE

--chat-mode-configuration (tagged union structure)

The chat mode configuration for an Amazon Q Business application.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: pluginConfiguration.

pluginConfiguration -> (structure)

Configuration information required to invoke chat in PLUGIN_MODE .

pluginId -> (string)

The identifier of the plugin you want to use.

Shorthand Syntax:

pluginConfiguration={pluginId=string}

JSON Syntax:

{
  "pluginConfiguration": {
    "pluginId": "string"
  }
}

--client-token (string)

A token that you provide to identify a chat request.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

Global Options

--debug (boolean)

Turn on debug logging.

--endpoint-url (string)

Override command's default URL with the given URL.

--no-verify-ssl (boolean)

By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.

--no-paginate (boolean)

Disable automatic pagination.

--output (string)

The formatting style for command output.

  • json
  • text
  • table

--query (string)

A JMESPath query to use in filtering the response data.

--profile (string)

Use a specific profile from your credential file.

--region (string)

The region to use. Overrides config/env settings.

--version (string)

Display the version of this tool.

--color (string)

Turn on/off color output.

  • on
  • off
  • auto

--no-sign-request (boolean)

Do not sign requests. Credentials will not be loaded if this argument is provided.

--ca-bundle (string)

The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.

--cli-read-timeout (int)

The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.

--cli-connect-timeout (int)

The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.

Output

conversationId -> (string)

The identifier of the Amazon Q Business conversation.

systemMessage -> (string)

An AI-generated message in a conversation.

systemMessageId -> (string)

The identifier of an Amazon Q Business AI generated message within the conversation.

userMessageId -> (string)

The identifier of an Amazon Q Business end user text input message within the conversation.

actionReview -> (structure)

A request from Amazon Q Business to the end user for information Amazon Q Business needs to successfully complete a requested plugin action.

pluginId -> (string)

The identifier of the plugin associated with the action review.

pluginType -> (string)

The type of plugin.

payload -> (map)

Field values that an end user needs to provide to Amazon Q Business for Amazon Q Business to perform the requested plugin action.

key -> (string)

value -> (structure)

A user input field in an plugin action review payload.

displayName -> (string)

The name of the field.

displayOrder -> (integer)

The display order of fields in a payload.

displayDescription -> (string)

The field level description of each action review input field. This could be an explanation of the field. In the Amazon Q Business web experience, these descriptions could be used to display as tool tips to help users understand the field.

type -> (string)

The type of field.

value -> (document)

The field value.

allowedValues -> (list)

Information about the field values that an end user can use to provide to Amazon Q Business for Amazon Q Business to perform the requested plugin action.

(structure)

Information about the field values that an end user can use to provide to Amazon Q Business for Amazon Q Business to perform the requested plugin action.

value -> (document)

The field value.

displayValue -> (document)

The name of the field.

allowedFormat -> (string)

The expected data format for the action review input field value. For example, in PTO request, from and to would be of datetime allowed format.

required -> (boolean)

Information about whether the field is required.

payloadFieldNameSeparator -> (string)

A string used to retain information about the hierarchical contexts within an action review payload.

authChallengeRequest -> (structure)

An authentication verification event activated by an end user request to use a custom plugin.

authorizationUrl -> (string)

The URL sent by Amazon Q Business to the third party authentication server to authenticate a custom plugin user through an OAuth protocol.

sourceAttributions -> (list)

The source documents used to generate the conversation response.

(structure)

The documents used to generate an Amazon Q Business web experience response.

title -> (string)

The title of the document which is the source for the Amazon Q Business generated response.

snippet -> (string)

The content extract from the document on which the generated response is based.

url -> (string)

The URL of the document which is the source for the Amazon Q Business generated response.

citationNumber -> (integer)

The number attached to a citation in an Amazon Q Business generated response.

updatedAt -> (timestamp)

The Unix timestamp when the Amazon Q Business application was last updated.

textMessageSegments -> (list)

A text extract from a source document that is used for source attribution.

(structure)

Provides information about a text extract in a chat response that can be attributed to a source document.

beginOffset -> (integer)

The zero-based location in the response string where the source attribution starts.

endOffset -> (integer)

The zero-based location in the response string where the source attribution ends.

snippetExcerpt -> (structure)

The relevant text excerpt from a source that was used to generate a citation text segment in an Amazon Q Business chat response.

text -> (string)

The relevant text excerpt from a source that was used to generate a citation text segment in an Amazon Q chat response.

failedAttachments -> (list)

A list of files which failed to upload during chat.

(structure)

The details of a file uploaded during chat.

name -> (string)

The name of a file uploaded during chat.

status -> (string)

The status of a file uploaded during chat.

error -> (structure)

An error associated with a file uploaded during chat.

errorMessage -> (string)

The message explaining the data source sync error.

errorCode -> (string)

The code associated with the data source sync error.