github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/runtime.lex.v2/2020-08-07/api-2.json (about)

     1  {
     2    "version":"2.0",
     3    "metadata":{
     4      "apiVersion":"2020-08-07",
     5      "endpointPrefix":"runtime-v2-lex",
     6      "jsonVersion":"1.1",
     7      "protocol":"rest-json",
     8      "protocolSettings":{"h2":"eventstream"},
     9      "serviceAbbreviation":"Lex Runtime V2",
    10      "serviceFullName":"Amazon Lex Runtime V2",
    11      "serviceId":"Lex Runtime V2",
    12      "signatureVersion":"v4",
    13      "signingName":"lex",
    14      "uid":"runtime.lex.v2-2020-08-07"
    15    },
    16    "operations":{
    17      "DeleteSession":{
    18        "name":"DeleteSession",
    19        "http":{
    20          "method":"DELETE",
    21          "requestUri":"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}"
    22        },
    23        "input":{"shape":"DeleteSessionRequest"},
    24        "output":{"shape":"DeleteSessionResponse"},
    25        "errors":[
    26          {"shape":"AccessDeniedException"},
    27          {"shape":"ResourceNotFoundException"},
    28          {"shape":"ValidationException"},
    29          {"shape":"ThrottlingException"},
    30          {"shape":"InternalServerException"},
    31          {"shape":"ConflictException"}
    32        ]
    33      },
    34      "GetSession":{
    35        "name":"GetSession",
    36        "http":{
    37          "method":"GET",
    38          "requestUri":"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}"
    39        },
    40        "input":{"shape":"GetSessionRequest"},
    41        "output":{"shape":"GetSessionResponse"},
    42        "errors":[
    43          {"shape":"AccessDeniedException"},
    44          {"shape":"ResourceNotFoundException"},
    45          {"shape":"ValidationException"},
    46          {"shape":"ThrottlingException"},
    47          {"shape":"InternalServerException"}
    48        ]
    49      },
    50      "PutSession":{
    51        "name":"PutSession",
    52        "http":{
    53          "method":"POST",
    54          "requestUri":"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}"
    55        },
    56        "input":{"shape":"PutSessionRequest"},
    57        "output":{"shape":"PutSessionResponse"},
    58        "errors":[
    59          {"shape":"AccessDeniedException"},
    60          {"shape":"ResourceNotFoundException"},
    61          {"shape":"ValidationException"},
    62          {"shape":"ThrottlingException"},
    63          {"shape":"InternalServerException"},
    64          {"shape":"ConflictException"},
    65          {"shape":"DependencyFailedException"},
    66          {"shape":"BadGatewayException"}
    67        ]
    68      },
    69      "RecognizeText":{
    70        "name":"RecognizeText",
    71        "http":{
    72          "method":"POST",
    73          "requestUri":"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text"
    74        },
    75        "input":{"shape":"RecognizeTextRequest"},
    76        "output":{"shape":"RecognizeTextResponse"},
    77        "errors":[
    78          {"shape":"AccessDeniedException"},
    79          {"shape":"ResourceNotFoundException"},
    80          {"shape":"ValidationException"},
    81          {"shape":"ThrottlingException"},
    82          {"shape":"InternalServerException"},
    83          {"shape":"ConflictException"},
    84          {"shape":"DependencyFailedException"},
    85          {"shape":"BadGatewayException"}
    86        ]
    87      },
    88      "RecognizeUtterance":{
    89        "name":"RecognizeUtterance",
    90        "http":{
    91          "method":"POST",
    92          "requestUri":"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance"
    93        },
    94        "input":{"shape":"RecognizeUtteranceRequest"},
    95        "output":{"shape":"RecognizeUtteranceResponse"},
    96        "errors":[
    97          {"shape":"AccessDeniedException"},
    98          {"shape":"ResourceNotFoundException"},
    99          {"shape":"ValidationException"},
   100          {"shape":"ThrottlingException"},
   101          {"shape":"InternalServerException"},
   102          {"shape":"ConflictException"},
   103          {"shape":"DependencyFailedException"},
   104          {"shape":"BadGatewayException"}
   105        ],
   106        "authtype":"v4-unsigned-body"
   107      },
   108      "StartConversation":{
   109        "name":"StartConversation",
   110        "http":{
   111          "method":"POST",
   112          "requestUri":"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/conversation"
   113        },
   114        "input":{"shape":"StartConversationRequest"},
   115        "output":{"shape":"StartConversationResponse"},
   116        "errors":[
   117          {"shape":"AccessDeniedException"},
   118          {"shape":"ValidationException"},
   119          {"shape":"ThrottlingException"},
   120          {"shape":"InternalServerException"}
   121        ]
   122      }
   123    },
   124    "shapes":{
   125      "AccessDeniedException":{
   126        "type":"structure",
   127        "required":["message"],
   128        "members":{
   129          "message":{"shape":"String"}
   130        },
   131        "error":{"httpStatusCode":403},
   132        "exception":true
   133      },
   134      "ActiveContext":{
   135        "type":"structure",
   136        "required":[
   137          "name",
   138          "timeToLive",
   139          "contextAttributes"
   140        ],
   141        "members":{
   142          "name":{"shape":"ActiveContextName"},
   143          "timeToLive":{"shape":"ActiveContextTimeToLive"},
   144          "contextAttributes":{"shape":"ActiveContextParametersMap"}
   145        }
   146      },
   147      "ActiveContextName":{
   148        "type":"string",
   149        "max":100,
   150        "min":1,
   151        "pattern":"^([A-Za-z]_?)+$"
   152      },
   153      "ActiveContextParametersMap":{
   154        "type":"map",
   155        "key":{"shape":"ParameterName"},
   156        "value":{"shape":"Text"},
   157        "max":10,
   158        "min":0
   159      },
   160      "ActiveContextTimeToLive":{
   161        "type":"structure",
   162        "required":[
   163          "timeToLiveInSeconds",
   164          "turnsToLive"
   165        ],
   166        "members":{
   167          "timeToLiveInSeconds":{"shape":"ActiveContextTimeToLiveInSeconds"},
   168          "turnsToLive":{"shape":"ActiveContextTurnsToLive"}
   169        }
   170      },
   171      "ActiveContextTimeToLiveInSeconds":{
   172        "type":"integer",
   173        "max":86400,
   174        "min":5
   175      },
   176      "ActiveContextTurnsToLive":{
   177        "type":"integer",
   178        "max":20,
   179        "min":1
   180      },
   181      "ActiveContextsList":{
   182        "type":"list",
   183        "member":{"shape":"ActiveContext"},
   184        "max":20,
   185        "min":0
   186      },
   187      "AttachmentTitle":{
   188        "type":"string",
   189        "max":250,
   190        "min":1
   191      },
   192      "AttachmentUrl":{
   193        "type":"string",
   194        "max":250,
   195        "min":1
   196      },
   197      "AudioChunk":{"type":"blob"},
   198      "AudioInputEvent":{
   199        "type":"structure",
   200        "required":["contentType"],
   201        "members":{
   202          "audioChunk":{"shape":"AudioChunk"},
   203          "contentType":{"shape":"NonEmptyString"},
   204          "eventId":{"shape":"EventId"},
   205          "clientTimestampMillis":{"shape":"EpochMillis"}
   206        },
   207        "event":true
   208      },
   209      "AudioResponseEvent":{
   210        "type":"structure",
   211        "members":{
   212          "audioChunk":{"shape":"AudioChunk"},
   213          "contentType":{"shape":"NonEmptyString"},
   214          "eventId":{"shape":"EventId"}
   215        },
   216        "event":true
   217      },
   218      "BadGatewayException":{
   219        "type":"structure",
   220        "required":["message"],
   221        "members":{
   222          "message":{"shape":"String"}
   223        },
   224        "error":{"httpStatusCode":502},
   225        "exception":true
   226      },
   227      "BlobStream":{
   228        "type":"blob",
   229        "streaming":true
   230      },
   231      "Boolean":{"type":"boolean"},
   232      "BotAliasIdentifier":{"type":"string"},
   233      "BotIdentifier":{
   234        "type":"string",
   235        "max":10,
   236        "min":10,
   237        "pattern":"^[0-9a-zA-Z]+$"
   238      },
   239      "Button":{
   240        "type":"structure",
   241        "required":[
   242          "text",
   243          "value"
   244        ],
   245        "members":{
   246          "text":{"shape":"ButtonText"},
   247          "value":{"shape":"ButtonValue"}
   248        }
   249      },
   250      "ButtonText":{
   251        "type":"string",
   252        "max":50,
   253        "min":1
   254      },
   255      "ButtonValue":{
   256        "type":"string",
   257        "max":50,
   258        "min":1
   259      },
   260      "ButtonsList":{
   261        "type":"list",
   262        "member":{"shape":"Button"},
   263        "max":5,
   264        "min":0
   265      },
   266      "ConfidenceScore":{
   267        "type":"structure",
   268        "members":{
   269          "score":{"shape":"Double"}
   270        }
   271      },
   272      "ConfigurationEvent":{
   273        "type":"structure",
   274        "required":["responseContentType"],
   275        "members":{
   276          "requestAttributes":{"shape":"StringMap"},
   277          "responseContentType":{"shape":"NonEmptyString"},
   278          "sessionState":{"shape":"SessionState"},
   279          "welcomeMessages":{"shape":"Messages"},
   280          "disablePlayback":{"shape":"Boolean"},
   281          "eventId":{"shape":"EventId"},
   282          "clientTimestampMillis":{"shape":"EpochMillis"}
   283        },
   284        "event":true
   285      },
   286      "ConfirmationState":{
   287        "type":"string",
   288        "enum":[
   289          "Confirmed",
   290          "Denied",
   291          "None"
   292        ]
   293      },
   294      "ConflictException":{
   295        "type":"structure",
   296        "required":["message"],
   297        "members":{
   298          "message":{"shape":"String"}
   299        },
   300        "error":{"httpStatusCode":409},
   301        "exception":true
   302      },
   303      "ConversationMode":{
   304        "type":"string",
   305        "enum":[
   306          "AUDIO",
   307          "TEXT"
   308        ]
   309      },
   310      "DTMFInputEvent":{
   311        "type":"structure",
   312        "required":["inputCharacter"],
   313        "members":{
   314          "inputCharacter":{"shape":"DTMFRegex"},
   315          "eventId":{"shape":"EventId"},
   316          "clientTimestampMillis":{"shape":"EpochMillis"}
   317        },
   318        "event":true
   319      },
   320      "DTMFRegex":{
   321        "type":"string",
   322        "max":1,
   323        "min":1,
   324        "pattern":"^[A-D0-9#*]{1}$",
   325        "sensitive":true
   326      },
   327      "DeleteSessionRequest":{
   328        "type":"structure",
   329        "required":[
   330          "botId",
   331          "botAliasId",
   332          "sessionId",
   333          "localeId"
   334        ],
   335        "members":{
   336          "botId":{
   337            "shape":"BotIdentifier",
   338            "location":"uri",
   339            "locationName":"botId"
   340          },
   341          "botAliasId":{
   342            "shape":"BotAliasIdentifier",
   343            "location":"uri",
   344            "locationName":"botAliasId"
   345          },
   346          "localeId":{
   347            "shape":"LocaleId",
   348            "location":"uri",
   349            "locationName":"localeId"
   350          },
   351          "sessionId":{
   352            "shape":"SessionId",
   353            "location":"uri",
   354            "locationName":"sessionId"
   355          }
   356        }
   357      },
   358      "DeleteSessionResponse":{
   359        "type":"structure",
   360        "members":{
   361          "botId":{"shape":"BotIdentifier"},
   362          "botAliasId":{"shape":"BotAliasIdentifier"},
   363          "localeId":{"shape":"LocaleId"},
   364          "sessionId":{"shape":"SessionId"}
   365        }
   366      },
   367      "DependencyFailedException":{
   368        "type":"structure",
   369        "required":["message"],
   370        "members":{
   371          "message":{"shape":"String"}
   372        },
   373        "error":{"httpStatusCode":424},
   374        "exception":true
   375      },
   376      "DialogAction":{
   377        "type":"structure",
   378        "required":["type"],
   379        "members":{
   380          "type":{"shape":"DialogActionType"},
   381          "slotToElicit":{"shape":"NonEmptyString"}
   382        }
   383      },
   384      "DialogActionType":{
   385        "type":"string",
   386        "enum":[
   387          "Close",
   388          "ConfirmIntent",
   389          "Delegate",
   390          "ElicitIntent",
   391          "ElicitSlot",
   392          "None"
   393        ]
   394      },
   395      "DisconnectionEvent":{
   396        "type":"structure",
   397        "members":{
   398          "eventId":{"shape":"EventId"},
   399          "clientTimestampMillis":{"shape":"EpochMillis"}
   400        },
   401        "event":true
   402      },
   403      "Double":{"type":"double"},
   404      "EpochMillis":{"type":"long"},
   405      "EventId":{
   406        "type":"string",
   407        "max":100,
   408        "min":2,
   409        "pattern":"[0-9a-zA-Z._:-]+"
   410      },
   411      "GetSessionRequest":{
   412        "type":"structure",
   413        "required":[
   414          "botId",
   415          "botAliasId",
   416          "localeId",
   417          "sessionId"
   418        ],
   419        "members":{
   420          "botId":{
   421            "shape":"BotIdentifier",
   422            "location":"uri",
   423            "locationName":"botId"
   424          },
   425          "botAliasId":{
   426            "shape":"BotAliasIdentifier",
   427            "location":"uri",
   428            "locationName":"botAliasId"
   429          },
   430          "localeId":{
   431            "shape":"LocaleId",
   432            "location":"uri",
   433            "locationName":"localeId"
   434          },
   435          "sessionId":{
   436            "shape":"SessionId",
   437            "location":"uri",
   438            "locationName":"sessionId"
   439          }
   440        }
   441      },
   442      "GetSessionResponse":{
   443        "type":"structure",
   444        "members":{
   445          "sessionId":{"shape":"NonEmptyString"},
   446          "messages":{"shape":"Messages"},
   447          "interpretations":{"shape":"Interpretations"},
   448          "sessionState":{"shape":"SessionState"}
   449        }
   450      },
   451      "HeartbeatEvent":{
   452        "type":"structure",
   453        "members":{
   454          "eventId":{"shape":"EventId"}
   455        },
   456        "event":true
   457      },
   458      "ImageResponseCard":{
   459        "type":"structure",
   460        "required":["title"],
   461        "members":{
   462          "title":{"shape":"AttachmentTitle"},
   463          "subtitle":{"shape":"AttachmentTitle"},
   464          "imageUrl":{"shape":"AttachmentUrl"},
   465          "buttons":{"shape":"ButtonsList"}
   466        }
   467      },
   468      "InputMode":{
   469        "type":"string",
   470        "enum":[
   471          "Text",
   472          "Speech",
   473          "DTMF"
   474        ]
   475      },
   476      "Intent":{
   477        "type":"structure",
   478        "required":["name"],
   479        "members":{
   480          "name":{"shape":"NonEmptyString"},
   481          "slots":{"shape":"Slots"},
   482          "state":{"shape":"IntentState"},
   483          "confirmationState":{"shape":"ConfirmationState"}
   484        }
   485      },
   486      "IntentResultEvent":{
   487        "type":"structure",
   488        "members":{
   489          "inputMode":{"shape":"InputMode"},
   490          "interpretations":{"shape":"Interpretations"},
   491          "sessionState":{"shape":"SessionState"},
   492          "requestAttributes":{"shape":"StringMap"},
   493          "sessionId":{"shape":"SessionId"},
   494          "eventId":{"shape":"EventId"}
   495        },
   496        "event":true
   497      },
   498      "IntentState":{
   499        "type":"string",
   500        "enum":[
   501          "Failed",
   502          "Fulfilled",
   503          "InProgress",
   504          "ReadyForFulfillment",
   505          "Waiting",
   506          "FulfillmentInProgress"
   507        ]
   508      },
   509      "InternalServerException":{
   510        "type":"structure",
   511        "required":["message"],
   512        "members":{
   513          "message":{"shape":"String"}
   514        },
   515        "error":{"httpStatusCode":500},
   516        "exception":true,
   517        "fault":true
   518      },
   519      "Interpretation":{
   520        "type":"structure",
   521        "members":{
   522          "nluConfidence":{"shape":"ConfidenceScore"},
   523          "sentimentResponse":{"shape":"SentimentResponse"},
   524          "intent":{"shape":"Intent"}
   525        }
   526      },
   527      "Interpretations":{
   528        "type":"list",
   529        "member":{"shape":"Interpretation"},
   530        "max":5
   531      },
   532      "LocaleId":{
   533        "type":"string",
   534        "min":1
   535      },
   536      "Message":{
   537        "type":"structure",
   538        "required":["contentType"],
   539        "members":{
   540          "content":{"shape":"Text"},
   541          "contentType":{"shape":"MessageContentType"},
   542          "imageResponseCard":{"shape":"ImageResponseCard"}
   543        }
   544      },
   545      "MessageContentType":{
   546        "type":"string",
   547        "enum":[
   548          "CustomPayload",
   549          "ImageResponseCard",
   550          "PlainText",
   551          "SSML"
   552        ]
   553      },
   554      "Messages":{
   555        "type":"list",
   556        "member":{"shape":"Message"},
   557        "max":10
   558      },
   559      "NonEmptyString":{
   560        "type":"string",
   561        "min":1
   562      },
   563      "ParameterName":{
   564        "type":"string",
   565        "max":100,
   566        "min":1
   567      },
   568      "PlaybackCompletionEvent":{
   569        "type":"structure",
   570        "members":{
   571          "eventId":{"shape":"EventId"},
   572          "clientTimestampMillis":{"shape":"EpochMillis"}
   573        },
   574        "event":true
   575      },
   576      "PlaybackInterruptionEvent":{
   577        "type":"structure",
   578        "members":{
   579          "eventReason":{"shape":"PlaybackInterruptionReason"},
   580          "causedByEventId":{"shape":"EventId"},
   581          "eventId":{"shape":"EventId"}
   582        },
   583        "event":true
   584      },
   585      "PlaybackInterruptionReason":{
   586        "type":"string",
   587        "enum":[
   588          "DTMF_START_DETECTED",
   589          "TEXT_DETECTED",
   590          "VOICE_START_DETECTED"
   591        ]
   592      },
   593      "PutSessionRequest":{
   594        "type":"structure",
   595        "required":[
   596          "botId",
   597          "botAliasId",
   598          "localeId",
   599          "sessionState",
   600          "sessionId"
   601        ],
   602        "members":{
   603          "botId":{
   604            "shape":"BotIdentifier",
   605            "location":"uri",
   606            "locationName":"botId"
   607          },
   608          "botAliasId":{
   609            "shape":"BotAliasIdentifier",
   610            "location":"uri",
   611            "locationName":"botAliasId"
   612          },
   613          "localeId":{
   614            "shape":"LocaleId",
   615            "location":"uri",
   616            "locationName":"localeId"
   617          },
   618          "sessionId":{
   619            "shape":"SessionId",
   620            "location":"uri",
   621            "locationName":"sessionId"
   622          },
   623          "messages":{"shape":"Messages"},
   624          "sessionState":{"shape":"SessionState"},
   625          "requestAttributes":{"shape":"StringMap"},
   626          "responseContentType":{
   627            "shape":"NonEmptyString",
   628            "location":"header",
   629            "locationName":"ResponseContentType"
   630          }
   631        }
   632      },
   633      "PutSessionResponse":{
   634        "type":"structure",
   635        "members":{
   636          "contentType":{
   637            "shape":"NonEmptyString",
   638            "location":"header",
   639            "locationName":"Content-Type"
   640          },
   641          "messages":{
   642            "shape":"NonEmptyString",
   643            "location":"header",
   644            "locationName":"x-amz-lex-messages"
   645          },
   646          "sessionState":{
   647            "shape":"NonEmptyString",
   648            "location":"header",
   649            "locationName":"x-amz-lex-session-state"
   650          },
   651          "requestAttributes":{
   652            "shape":"NonEmptyString",
   653            "location":"header",
   654            "locationName":"x-amz-lex-request-attributes"
   655          },
   656          "sessionId":{
   657            "shape":"SessionId",
   658            "location":"header",
   659            "locationName":"x-amz-lex-session-id"
   660          },
   661          "audioStream":{"shape":"BlobStream"}
   662        },
   663        "payload":"audioStream"
   664      },
   665      "RecognizeTextRequest":{
   666        "type":"structure",
   667        "required":[
   668          "botId",
   669          "botAliasId",
   670          "localeId",
   671          "text",
   672          "sessionId"
   673        ],
   674        "members":{
   675          "botId":{
   676            "shape":"BotIdentifier",
   677            "location":"uri",
   678            "locationName":"botId"
   679          },
   680          "botAliasId":{
   681            "shape":"BotAliasIdentifier",
   682            "location":"uri",
   683            "locationName":"botAliasId"
   684          },
   685          "localeId":{
   686            "shape":"LocaleId",
   687            "location":"uri",
   688            "locationName":"localeId"
   689          },
   690          "sessionId":{
   691            "shape":"SessionId",
   692            "location":"uri",
   693            "locationName":"sessionId"
   694          },
   695          "text":{"shape":"Text"},
   696          "sessionState":{"shape":"SessionState"},
   697          "requestAttributes":{"shape":"StringMap"}
   698        }
   699      },
   700      "RecognizeTextResponse":{
   701        "type":"structure",
   702        "members":{
   703          "messages":{"shape":"Messages"},
   704          "sessionState":{"shape":"SessionState"},
   705          "interpretations":{"shape":"Interpretations"},
   706          "requestAttributes":{"shape":"StringMap"},
   707          "sessionId":{"shape":"SessionId"}
   708        }
   709      },
   710      "RecognizeUtteranceRequest":{
   711        "type":"structure",
   712        "required":[
   713          "botId",
   714          "botAliasId",
   715          "localeId",
   716          "requestContentType",
   717          "sessionId"
   718        ],
   719        "members":{
   720          "botId":{
   721            "shape":"BotIdentifier",
   722            "location":"uri",
   723            "locationName":"botId"
   724          },
   725          "botAliasId":{
   726            "shape":"BotAliasIdentifier",
   727            "location":"uri",
   728            "locationName":"botAliasId"
   729          },
   730          "localeId":{
   731            "shape":"LocaleId",
   732            "location":"uri",
   733            "locationName":"localeId"
   734          },
   735          "sessionId":{
   736            "shape":"SessionId",
   737            "location":"uri",
   738            "locationName":"sessionId"
   739          },
   740          "sessionState":{
   741            "shape":"SensitiveNonEmptyString",
   742            "location":"header",
   743            "locationName":"x-amz-lex-session-state"
   744          },
   745          "requestAttributes":{
   746            "shape":"SensitiveNonEmptyString",
   747            "location":"header",
   748            "locationName":"x-amz-lex-request-attributes"
   749          },
   750          "requestContentType":{
   751            "shape":"NonEmptyString",
   752            "location":"header",
   753            "locationName":"Content-Type"
   754          },
   755          "responseContentType":{
   756            "shape":"NonEmptyString",
   757            "location":"header",
   758            "locationName":"Response-Content-Type"
   759          },
   760          "inputStream":{"shape":"BlobStream"}
   761        },
   762        "payload":"inputStream"
   763      },
   764      "RecognizeUtteranceResponse":{
   765        "type":"structure",
   766        "members":{
   767          "inputMode":{
   768            "shape":"NonEmptyString",
   769            "location":"header",
   770            "locationName":"x-amz-lex-input-mode"
   771          },
   772          "contentType":{
   773            "shape":"NonEmptyString",
   774            "location":"header",
   775            "locationName":"Content-Type"
   776          },
   777          "messages":{
   778            "shape":"NonEmptyString",
   779            "location":"header",
   780            "locationName":"x-amz-lex-messages"
   781          },
   782          "interpretations":{
   783            "shape":"NonEmptyString",
   784            "location":"header",
   785            "locationName":"x-amz-lex-interpretations"
   786          },
   787          "sessionState":{
   788            "shape":"NonEmptyString",
   789            "location":"header",
   790            "locationName":"x-amz-lex-session-state"
   791          },
   792          "requestAttributes":{
   793            "shape":"NonEmptyString",
   794            "location":"header",
   795            "locationName":"x-amz-lex-request-attributes"
   796          },
   797          "sessionId":{
   798            "shape":"SessionId",
   799            "location":"header",
   800            "locationName":"x-amz-lex-session-id"
   801          },
   802          "inputTranscript":{
   803            "shape":"NonEmptyString",
   804            "location":"header",
   805            "locationName":"x-amz-lex-input-transcript"
   806          },
   807          "audioStream":{"shape":"BlobStream"}
   808        },
   809        "payload":"audioStream"
   810      },
   811      "ResourceNotFoundException":{
   812        "type":"structure",
   813        "required":["message"],
   814        "members":{
   815          "message":{"shape":"String"}
   816        },
   817        "error":{"httpStatusCode":404},
   818        "exception":true
   819      },
   820      "SensitiveNonEmptyString":{
   821        "type":"string",
   822        "sensitive":true
   823      },
   824      "SentimentResponse":{
   825        "type":"structure",
   826        "members":{
   827          "sentiment":{"shape":"SentimentType"},
   828          "sentimentScore":{"shape":"SentimentScore"}
   829        }
   830      },
   831      "SentimentScore":{
   832        "type":"structure",
   833        "members":{
   834          "positive":{"shape":"Double"},
   835          "negative":{"shape":"Double"},
   836          "neutral":{"shape":"Double"},
   837          "mixed":{"shape":"Double"}
   838        }
   839      },
   840      "SentimentType":{
   841        "type":"string",
   842        "enum":[
   843          "MIXED",
   844          "NEGATIVE",
   845          "NEUTRAL",
   846          "POSITIVE"
   847        ]
   848      },
   849      "SessionId":{
   850        "type":"string",
   851        "max":100,
   852        "min":2,
   853        "pattern":"[0-9a-zA-Z._:-]+"
   854      },
   855      "SessionState":{
   856        "type":"structure",
   857        "members":{
   858          "dialogAction":{"shape":"DialogAction"},
   859          "intent":{"shape":"Intent"},
   860          "activeContexts":{"shape":"ActiveContextsList"},
   861          "sessionAttributes":{"shape":"StringMap"},
   862          "originatingRequestId":{"shape":"NonEmptyString"}
   863        }
   864      },
   865      "Shape":{
   866        "type":"string",
   867        "enum":[
   868          "Scalar",
   869          "List"
   870        ]
   871      },
   872      "Slot":{
   873        "type":"structure",
   874        "members":{
   875          "value":{"shape":"Value"},
   876          "shape":{"shape":"Shape"},
   877          "values":{"shape":"Values"}
   878        }
   879      },
   880      "Slots":{
   881        "type":"map",
   882        "key":{"shape":"NonEmptyString"},
   883        "value":{"shape":"Slot"}
   884      },
   885      "StartConversationRequest":{
   886        "type":"structure",
   887        "required":[
   888          "botId",
   889          "botAliasId",
   890          "localeId",
   891          "requestEventStream",
   892          "sessionId"
   893        ],
   894        "members":{
   895          "botId":{
   896            "shape":"BotIdentifier",
   897            "location":"uri",
   898            "locationName":"botId"
   899          },
   900          "botAliasId":{
   901            "shape":"BotAliasIdentifier",
   902            "location":"uri",
   903            "locationName":"botAliasId"
   904          },
   905          "localeId":{
   906            "shape":"LocaleId",
   907            "location":"uri",
   908            "locationName":"localeId"
   909          },
   910          "sessionId":{
   911            "shape":"SessionId",
   912            "location":"uri",
   913            "locationName":"sessionId"
   914          },
   915          "conversationMode":{
   916            "shape":"ConversationMode",
   917            "location":"header",
   918            "locationName":"x-amz-lex-conversation-mode"
   919          },
   920          "requestEventStream":{"shape":"StartConversationRequestEventStream"}
   921        },
   922        "payload":"requestEventStream"
   923      },
   924      "StartConversationRequestEventStream":{
   925        "type":"structure",
   926        "members":{
   927          "ConfigurationEvent":{"shape":"ConfigurationEvent"},
   928          "AudioInputEvent":{"shape":"AudioInputEvent"},
   929          "DTMFInputEvent":{"shape":"DTMFInputEvent"},
   930          "TextInputEvent":{"shape":"TextInputEvent"},
   931          "PlaybackCompletionEvent":{"shape":"PlaybackCompletionEvent"},
   932          "DisconnectionEvent":{"shape":"DisconnectionEvent"}
   933        },
   934        "eventstream":true
   935      },
   936      "StartConversationResponse":{
   937        "type":"structure",
   938        "members":{
   939          "responseEventStream":{"shape":"StartConversationResponseEventStream"}
   940        },
   941        "payload":"responseEventStream"
   942      },
   943      "StartConversationResponseEventStream":{
   944        "type":"structure",
   945        "members":{
   946          "PlaybackInterruptionEvent":{"shape":"PlaybackInterruptionEvent"},
   947          "TranscriptEvent":{"shape":"TranscriptEvent"},
   948          "IntentResultEvent":{"shape":"IntentResultEvent"},
   949          "TextResponseEvent":{"shape":"TextResponseEvent"},
   950          "AudioResponseEvent":{"shape":"AudioResponseEvent"},
   951          "HeartbeatEvent":{"shape":"HeartbeatEvent"},
   952          "AccessDeniedException":{"shape":"AccessDeniedException"},
   953          "ResourceNotFoundException":{"shape":"ResourceNotFoundException"},
   954          "ValidationException":{"shape":"ValidationException"},
   955          "ThrottlingException":{"shape":"ThrottlingException"},
   956          "InternalServerException":{"shape":"InternalServerException"},
   957          "ConflictException":{"shape":"ConflictException"},
   958          "DependencyFailedException":{"shape":"DependencyFailedException"},
   959          "BadGatewayException":{"shape":"BadGatewayException"}
   960        },
   961        "eventstream":true
   962      },
   963      "String":{"type":"string"},
   964      "StringList":{
   965        "type":"list",
   966        "member":{"shape":"NonEmptyString"}
   967      },
   968      "StringMap":{
   969        "type":"map",
   970        "key":{"shape":"NonEmptyString"},
   971        "value":{"shape":"String"}
   972      },
   973      "Text":{
   974        "type":"string",
   975        "max":1024,
   976        "min":1,
   977        "sensitive":true
   978      },
   979      "TextInputEvent":{
   980        "type":"structure",
   981        "required":["text"],
   982        "members":{
   983          "text":{"shape":"Text"},
   984          "eventId":{"shape":"EventId"},
   985          "clientTimestampMillis":{"shape":"EpochMillis"}
   986        },
   987        "event":true
   988      },
   989      "TextResponseEvent":{
   990        "type":"structure",
   991        "members":{
   992          "messages":{"shape":"Messages"},
   993          "eventId":{"shape":"EventId"}
   994        },
   995        "event":true
   996      },
   997      "ThrottlingException":{
   998        "type":"structure",
   999        "required":["message"],
  1000        "members":{
  1001          "message":{"shape":"String"}
  1002        },
  1003        "error":{"httpStatusCode":429},
  1004        "exception":true
  1005      },
  1006      "TranscriptEvent":{
  1007        "type":"structure",
  1008        "members":{
  1009          "transcript":{"shape":"String"},
  1010          "eventId":{"shape":"EventId"}
  1011        },
  1012        "event":true
  1013      },
  1014      "ValidationException":{
  1015        "type":"structure",
  1016        "required":["message"],
  1017        "members":{
  1018          "message":{"shape":"String"}
  1019        },
  1020        "error":{"httpStatusCode":400},
  1021        "exception":true
  1022      },
  1023      "Value":{
  1024        "type":"structure",
  1025        "required":["interpretedValue"],
  1026        "members":{
  1027          "originalValue":{"shape":"NonEmptyString"},
  1028          "interpretedValue":{"shape":"NonEmptyString"},
  1029          "resolvedValues":{"shape":"StringList"}
  1030        }
  1031      },
  1032      "Values":{
  1033        "type":"list",
  1034        "member":{"shape":"Slot"}
  1035      }
  1036    }
  1037  }