v2: Updates

* Simplifies & beautifies everything
* Introduces a new Class system.
* Errors are defaulted to AWS's handler.
* New function names & more efficient handling.
* Should fix a majority of the errors.

Please read the README for more!
This commit is contained in:
Devang Srivastava 2020-09-28 15:32:51 +05:30
parent ad0726e41e
commit e6d7753dc8
1095 changed files with 45088 additions and 2911 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,3 @@
<?php
// This file was auto-generated from sdk-root/src/data/lambda/2015-03-31/paginators-1.json
return [ 'pagination' => [ 'ListEventSourceMappings' => [ 'input_token' => 'Marker', 'limit_key' => 'MaxItems', 'output_token' => 'NextMarker', 'result_key' => 'EventSourceMappings', ], 'ListFunctions' => [ 'input_token' => 'Marker', 'limit_key' => 'MaxItems', 'output_token' => 'NextMarker', 'result_key' => 'Functions', ], ],];
return [ 'pagination' => [ 'ListAliases' => [ 'input_token' => 'Marker', 'limit_key' => 'MaxItems', 'output_token' => 'NextMarker', 'result_key' => 'Aliases', ], 'ListEventSourceMappings' => [ 'input_token' => 'Marker', 'limit_key' => 'MaxItems', 'output_token' => 'NextMarker', 'result_key' => 'EventSourceMappings', ], 'ListFunctionEventInvokeConfigs' => [ 'input_token' => 'Marker', 'limit_key' => 'MaxItems', 'output_token' => 'NextMarker', 'result_key' => 'FunctionEventInvokeConfigs', ], 'ListFunctions' => [ 'input_token' => 'Marker', 'limit_key' => 'MaxItems', 'output_token' => 'NextMarker', 'result_key' => 'Functions', ], 'ListLayerVersions' => [ 'input_token' => 'Marker', 'limit_key' => 'MaxItems', 'output_token' => 'NextMarker', 'result_key' => 'LayerVersions', ], 'ListLayers' => [ 'input_token' => 'Marker', 'limit_key' => 'MaxItems', 'output_token' => 'NextMarker', 'result_key' => 'Layers', ], 'ListProvisionedConcurrencyConfigs' => [ 'input_token' => 'Marker', 'limit_key' => 'MaxItems', 'output_token' => 'NextMarker', 'result_key' => 'ProvisionedConcurrencyConfigs', ], 'ListVersionsByFunction' => [ 'input_token' => 'Marker', 'limit_key' => 'MaxItems', 'output_token' => 'NextMarker', 'result_key' => 'Versions', ], ],];

View file

@ -0,0 +1,3 @@
<?php
// This file was auto-generated from sdk-root/src/data/lambda/2015-03-31/smoke.json
return [ 'version' => 1, 'defaultRegion' => 'us-west-2', 'testCases' => [ [ 'operationName' => 'ListFunctions', 'input' => [], 'errorExpectedFromService' => false, ], [ 'operationName' => 'Invoke', 'input' => [ 'FunctionName' => 'bogus-function', ], 'errorExpectedFromService' => true, ], ],];

View file

@ -0,0 +1,3 @@
<?php
// This file was auto-generated from sdk-root/src/data/lambda/2015-03-31/waiters-2.json
return [ 'version' => 2, 'waiters' => [ 'FunctionExists' => [ 'delay' => 1, 'operation' => 'GetFunction', 'maxAttempts' => 20, 'acceptors' => [ [ 'state' => 'success', 'matcher' => 'status', 'expected' => 200, ], [ 'state' => 'retry', 'matcher' => 'error', 'expected' => 'ResourceNotFoundException', ], ], ], 'FunctionActive' => [ 'delay' => 5, 'maxAttempts' => 60, 'operation' => 'GetFunctionConfiguration', 'description' => 'Waits for the function\'s State to be Active.', 'acceptors' => [ [ 'state' => 'success', 'matcher' => 'path', 'argument' => 'State', 'expected' => 'Active', ], [ 'state' => 'failure', 'matcher' => 'path', 'argument' => 'State', 'expected' => 'Failed', ], [ 'state' => 'retry', 'matcher' => 'path', 'argument' => 'State', 'expected' => 'Pending', ], ], ], 'FunctionUpdated' => [ 'delay' => 5, 'maxAttempts' => 60, 'operation' => 'GetFunctionConfiguration', 'description' => 'Waits for the function\'s LastUpdateStatus to be Successful.', 'acceptors' => [ [ 'state' => 'success', 'matcher' => 'path', 'argument' => 'LastUpdateStatus', 'expected' => 'Successful', ], [ 'state' => 'failure', 'matcher' => 'path', 'argument' => 'LastUpdateStatus', 'expected' => 'Failed', ], [ 'state' => 'retry', 'matcher' => 'path', 'argument' => 'LastUpdateStatus', 'expected' => 'InProgress', ], ], ], ],];