Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update vendor libs; strip print statements
- Loading branch information
1 parent
48396dc
commit a5d1cbd
Showing
448 changed files
with
1,855 additions
and
38,735 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
vendor/aws/aws-sdk-php/src/LexModelsV2/Exception/LexModelsV2Exception.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
namespace Aws\LexModelsV2\Exception; | ||
|
||
use Aws\Exception\AwsException; | ||
|
||
/** | ||
* Represents an error interacting with the **Amazon Lex Model Building V2** service. | ||
*/ | ||
class LexModelsV2Exception extends AwsException {} |
127 changes: 127 additions & 0 deletions
127
vendor/aws/aws-sdk-php/src/LexModelsV2/LexModelsV2Client.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
<?php | ||
namespace Aws\LexModelsV2; | ||
|
||
use Aws\AwsClient; | ||
use Aws\CommandInterface; | ||
use Psr\Http\Message\RequestInterface; | ||
|
||
/** | ||
* This client is used to interact with the **Amazon Lex Model Building V2** service. | ||
* @method \Aws\Result buildBotLocale(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise buildBotLocaleAsync(array $args = []) | ||
* @method \Aws\Result createBot(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise createBotAsync(array $args = []) | ||
* @method \Aws\Result createBotAlias(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise createBotAliasAsync(array $args = []) | ||
* @method \Aws\Result createBotLocale(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise createBotLocaleAsync(array $args = []) | ||
* @method \Aws\Result createBotVersion(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise createBotVersionAsync(array $args = []) | ||
* @method \Aws\Result createIntent(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise createIntentAsync(array $args = []) | ||
* @method \Aws\Result createSlot(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise createSlotAsync(array $args = []) | ||
* @method \Aws\Result createSlotType(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise createSlotTypeAsync(array $args = []) | ||
* @method \Aws\Result deleteBot(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise deleteBotAsync(array $args = []) | ||
* @method \Aws\Result deleteBotAlias(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise deleteBotAliasAsync(array $args = []) | ||
* @method \Aws\Result deleteBotLocale(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise deleteBotLocaleAsync(array $args = []) | ||
* @method \Aws\Result deleteBotVersion(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise deleteBotVersionAsync(array $args = []) | ||
* @method \Aws\Result deleteIntent(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise deleteIntentAsync(array $args = []) | ||
* @method \Aws\Result deleteSlot(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise deleteSlotAsync(array $args = []) | ||
* @method \Aws\Result deleteSlotType(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise deleteSlotTypeAsync(array $args = []) | ||
* @method \Aws\Result describeBot(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise describeBotAsync(array $args = []) | ||
* @method \Aws\Result describeBotAlias(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise describeBotAliasAsync(array $args = []) | ||
* @method \Aws\Result describeBotLocale(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise describeBotLocaleAsync(array $args = []) | ||
* @method \Aws\Result describeBotVersion(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise describeBotVersionAsync(array $args = []) | ||
* @method \Aws\Result describeIntent(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise describeIntentAsync(array $args = []) | ||
* @method \Aws\Result describeSlot(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise describeSlotAsync(array $args = []) | ||
* @method \Aws\Result describeSlotType(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise describeSlotTypeAsync(array $args = []) | ||
* @method \Aws\Result listBotAliases(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listBotAliasesAsync(array $args = []) | ||
* @method \Aws\Result listBotLocales(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listBotLocalesAsync(array $args = []) | ||
* @method \Aws\Result listBotVersions(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listBotVersionsAsync(array $args = []) | ||
* @method \Aws\Result listBots(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listBotsAsync(array $args = []) | ||
* @method \Aws\Result listBuiltInIntents(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listBuiltInIntentsAsync(array $args = []) | ||
* @method \Aws\Result listBuiltInSlotTypes(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listBuiltInSlotTypesAsync(array $args = []) | ||
* @method \Aws\Result listIntents(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listIntentsAsync(array $args = []) | ||
* @method \Aws\Result listSlotTypes(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listSlotTypesAsync(array $args = []) | ||
* @method \Aws\Result listSlots(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listSlotsAsync(array $args = []) | ||
* @method \Aws\Result listTagsForResource(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = []) | ||
* @method \Aws\Result tagResource(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = []) | ||
* @method \Aws\Result untagResource(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = []) | ||
* @method \Aws\Result updateBot(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise updateBotAsync(array $args = []) | ||
* @method \Aws\Result updateBotAlias(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise updateBotAliasAsync(array $args = []) | ||
* @method \Aws\Result updateBotLocale(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise updateBotLocaleAsync(array $args = []) | ||
* @method \Aws\Result updateIntent(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise updateIntentAsync(array $args = []) | ||
* @method \Aws\Result updateSlot(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise updateSlotAsync(array $args = []) | ||
* @method \Aws\Result updateSlotType(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise updateSlotTypeAsync(array $args = []) | ||
*/ | ||
class LexModelsV2Client extends AwsClient { | ||
public function __construct(array $args) | ||
{ | ||
parent::__construct($args); | ||
|
||
// Setup middleware. | ||
$stack = $this->getHandlerList(); | ||
$stack->appendBuild($this->updateContentType(), 'models.lex.v2.updateContentType'); | ||
} | ||
|
||
/** | ||
* Creates a middleware that updates the Content-Type header when it is present; | ||
* this is necessary because the service protocol is rest-json which by default | ||
* sets the content-type to 'application/json', but interacting with the service | ||
* requires it to be set to x-amz-json-1.1 | ||
* | ||
* @return callable | ||
*/ | ||
private function updateContentType() | ||
{ | ||
return function (callable $handler) { | ||
return function ( | ||
CommandInterface $command, | ||
RequestInterface $request = null | ||
) use ($handler) { | ||
$contentType = $request->getHeader('Content-Type'); | ||
if (!empty($contentType) && $contentType[0] == 'application/json') { | ||
return $handler($command, $request->withHeader( | ||
'Content-Type', | ||
'application/x-amz-json-1.1' | ||
)); | ||
} | ||
return $handler($command, $request); | ||
}; | ||
}; | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
vendor/aws/aws-sdk-php/src/LexRuntimeV2/Exception/LexRuntimeV2Exception.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
namespace Aws\LexRuntimeV2\Exception; | ||
|
||
use Aws\Exception\AwsException; | ||
|
||
/** | ||
* Represents an error interacting with the **Amazon Lex Runtime V2** service. | ||
*/ | ||
class LexRuntimeV2Exception extends AwsException {} |
19 changes: 19 additions & 0 deletions
19
vendor/aws/aws-sdk-php/src/LexRuntimeV2/LexRuntimeV2Client.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
namespace Aws\LexRuntimeV2; | ||
|
||
use Aws\AwsClient; | ||
|
||
/** | ||
* This client is used to interact with the **Amazon Lex Runtime V2** service. | ||
* @method \Aws\Result deleteSession(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise deleteSessionAsync(array $args = []) | ||
* @method \Aws\Result getSession(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise getSessionAsync(array $args = []) | ||
* @method \Aws\Result putSession(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise putSessionAsync(array $args = []) | ||
* @method \Aws\Result recognizeText(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise recognizeTextAsync(array $args = []) | ||
* @method \Aws\Result recognizeUtterance(array $args = []) | ||
* @method \GuzzleHttp\Promise\Promise recognizeUtteranceAsync(array $args = []) | ||
*/ | ||
class LexRuntimeV2Client extends AwsClient {} |
Oops, something went wrong.