Files

4 lines
20 KiB
PHP
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
<?php
// This file was auto-generated from sdk-root/src/data/runtime.lex/2016-11-28/api-2.json
return [ 'version' => '2.0', 'metadata' => [ 'apiVersion' => '2016-11-28', 'endpointPrefix' => 'runtime.lex', 'jsonVersion' => '1.1', 'protocol' => 'rest-json', 'serviceFullName' => 'Amazon Lex Runtime Service', 'serviceId' => 'Lex Runtime Service', 'signatureVersion' => 'v4', 'signingName' => 'lex', 'uid' => 'runtime.lex-2016-11-28', ], 'operations' => [ 'DeleteSession' => [ 'name' => 'DeleteSession', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/bot/{botName}/alias/{botAlias}/user/{userId}/session', ], 'input' => [ 'shape' => 'DeleteSessionRequest', ], 'output' => [ 'shape' => 'DeleteSessionResponse', ], 'errors' => [ [ 'shape' => 'NotFoundException', ], [ 'shape' => 'BadRequestException', ], [ 'shape' => 'LimitExceededException', ], [ 'shape' => 'InternalFailureException', ], [ 'shape' => 'ConflictException', ], ], ], 'GetSession' => [ 'name' => 'GetSession', 'http' => [ 'method' => 'GET', 'requestUri' => '/bot/{botName}/alias/{botAlias}/user/{userId}/session/', ], 'input' => [ 'shape' => 'GetSessionRequest', ], 'output' => [ 'shape' => 'GetSessionResponse', ], 'errors' => [ [ 'shape' => 'NotFoundException', ], [ 'shape' => 'BadRequestException', ], [ 'shape' => 'LimitExceededException', ], [ 'shape' => 'InternalFailureException', ], ], ], 'PostContent' => [ 'name' => 'PostContent', 'http' => [ 'method' => 'POST', 'requestUri' => '/bot/{botName}/alias/{botAlias}/user/{userId}/content', ], 'input' => [ 'shape' => 'PostContentRequest', ], 'output' => [ 'shape' => 'PostContentResponse', ], 'errors' => [ [ 'shape' => 'NotFoundException', ], [ 'shape' => 'BadRequestException', ], [ 'shape' => 'LimitExceededException', ], [ 'shape' => 'InternalFailureException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'UnsupportedMediaTypeException', ], [ 'shape' => 'NotAcceptableException', ], [ 'shape' => 'RequestTimeoutException', ], [ 'shape' => 'DependencyFailedException', ], [ 'shape' => 'BadGatewayException', ], [ 'shape' => 'LoopDetectedException', ], ], 'authtype' => 'v4-unsigned-body', ], 'PostText' => [ 'name' => 'PostText', 'http' => [ 'method' => 'POST', 'requestUri' => '/bot/{botName}/alias/{botAlias}/user/{userId}/text', ], 'input' => [ 'shape' => 'PostTextRequest', ], 'output' => [ 'shape' => 'PostTextResponse', ], 'errors' => [ [ 'shape' => 'NotFoundException', ], [ 'shape' => 'BadRequestException', ], [ 'shape' => 'LimitExceededException', ], [ 'shape' => 'InternalFailureException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'DependencyFailedException', ], [ 'shape' => 'BadGatewayException', ], [ 'shape' => 'LoopDetectedException', ], ], ], 'PutSession' => [ 'name' => 'PutSession', 'http' => [ 'method' => 'POST', 'requestUri' => '/bot/{botName}/alias/{botAlias}/user/{userId}/session', ], 'input' => [ 'shape' => 'PutSessionRequest', ], 'output' => [ 'shape' => 'PutSessionResponse', ], 'errors' => [ [ 'shape' => 'NotFoundException', ], [ 'shape' => 'BadRequestException', ], [ 'shape' => 'LimitExceededException', ], [ 'shape' => 'InternalFailureException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'NotAcceptableException', ], [ 'shape' => 'DependencyFailedException', ], [ 'shape' => 'BadGatewayException', ], ], ], ], 'shapes' => [ 'Accept' => [ 'type' => 'string', ], 'ActiveContext' => [ 'type' => 'structure', 'required' => [ 'name', 'timeToLive', 'parameters', ], 'members' => [ 'name' => [ 'shape' => 'ActiveContextName', ], 'timeToLive' => [ 'shape' => 'ActiveContextTimeToLive', ], 'parameters' => [ 'shape' => 'ActiveContextParametersMap', ], ], ], 'ActiveContextName' => [ 'type' => 'string', 'max' => 100, 'min' => 1, 'pattern' => '^([A-Za-z]_?)+$', ], 'ActiveContextParametersMap' => [ 'type' => 'map', 'key' => [ 'shape' => 'ParameterName', ], 'value' => [ 'shape' => 'Text', ], 'max' => 10, 'min' => 0, ], 'ActiveContextTimeToLive' => [ 'type' => 'structure', 'members' => [ 'timeToLiveInSeconds' => [ 'shape' => 'ActiveContextTimeToLiveInSeconds', ], 'turnsToLive' => [ 'shape' => 'ActiveContextTurnsToLive', ], ], ], 'ActiveContextTimeToLiveInSeconds' => [ 'type' => 'integer', 'max' => 8