1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00

Handlebars vunerability fix

compose update
This commit is contained in:
Daniel 2022-02-22 15:41:02 -03:00
parent fbee728e5e
commit 856fdcbf1a
804 changed files with 34001 additions and 4315 deletions

330
composer.lock generated
View file

@ -119,16 +119,16 @@
},
{
"name": "aws/aws-sdk-php",
"version": "3.208.10",
"version": "3.209.28",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
"reference": "a7802ac9289e0c4de2c76cfe0ea0f11f72955754"
"reference": "dfc4fdee991cdf764241125490a0b22875af6afe"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/a7802ac9289e0c4de2c76cfe0ea0f11f72955754",
"reference": "a7802ac9289e0c4de2c76cfe0ea0f11f72955754",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/dfc4fdee991cdf764241125490a0b22875af6afe",
"reference": "dfc4fdee991cdf764241125490a0b22875af6afe",
"shasum": ""
},
"require": {
@ -172,12 +172,12 @@
}
},
"autoload": {
"psr-4": {
"Aws\\": "src/"
},
"files": [
"src/functions.php"
]
],
"psr-4": {
"Aws\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@ -204,9 +204,9 @@
"support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
"issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.208.10"
"source": "https://github.com/aws/aws-sdk-php/tree/3.209.28"
},
"time": "2022-01-05T19:19:54+00:00"
"time": "2022-02-21T19:14:33+00:00"
},
{
"name": "cboden/ratchet",
@ -743,12 +743,12 @@
}
},
"autoload": {
"psr-4": {
"Google\\": "src/"
},
"files": [
"src/aliases.php"
],
"psr-4": {
"Google\\": "src/"
},
"classmap": [
"src/aliases.php"
]
@ -770,16 +770,16 @@
},
{
"name": "google/apiclient-services",
"version": "v0.228.0",
"version": "v0.236.0",
"source": {
"type": "git",
"url": "https://github.com/googleapis/google-api-php-client-services.git",
"reference": "ec64bbf1d6af9475bee7b1ce4fc0ed8a0a8d8889"
"reference": "3aefd2914d9025a881ee93145de16f9e0f82443e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/ec64bbf1d6af9475bee7b1ce4fc0ed8a0a8d8889",
"reference": "ec64bbf1d6af9475bee7b1ce4fc0ed8a0a8d8889",
"url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/3aefd2914d9025a881ee93145de16f9e0f82443e",
"reference": "3aefd2914d9025a881ee93145de16f9e0f82443e",
"shasum": ""
},
"require": {
@ -790,12 +790,12 @@
},
"type": "library",
"autoload": {
"psr-4": {
"Google\\Service\\": "src"
},
"files": [
"autoload.php"
]
],
"psr-4": {
"Google\\Service\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@ -808,9 +808,9 @@
],
"support": {
"issues": "https://github.com/googleapis/google-api-php-client-services/issues",
"source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.228.0"
"source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.236.0"
},
"time": "2021-12-21T12:26:12+00:00"
"time": "2022-02-07T14:04:26+00:00"
},
{
"name": "google/auth",
@ -904,12 +904,12 @@
}
},
"autoload": {
"psr-4": {
"GuzzleHttp\\": "src/"
},
"files": [
"src/functions_include.php"
]
],
"psr-4": {
"GuzzleHttp\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@ -1059,12 +1059,12 @@
}
},
"autoload": {
"psr-4": {
"GuzzleHttp\\Psr7\\": "src/"
},
"files": [
"src/functions_include.php"
]
],
"psr-4": {
"GuzzleHttp\\Psr7\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@ -1426,12 +1426,12 @@
}
},
"autoload": {
"psr-4": {
"JmesPath\\": "src/"
},
"files": [
"src/JmesPath.php"
]
],
"psr-4": {
"JmesPath\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@ -1457,16 +1457,16 @@
},
{
"name": "nesbot/carbon",
"version": "2.55.2",
"version": "2.57.0",
"source": {
"type": "git",
"url": "https://github.com/briannesbitt/Carbon.git",
"reference": "8c2a18ce3e67c34efc1b29f64fe61304368259a2"
"reference": "4a54375c21eea4811dbd1149fe6b246517554e78"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/8c2a18ce3e67c34efc1b29f64fe61304368259a2",
"reference": "8c2a18ce3e67c34efc1b29f64fe61304368259a2",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/4a54375c21eea4811dbd1149fe6b246517554e78",
"reference": "4a54375c21eea4811dbd1149fe6b246517554e78",
"shasum": ""
},
"require": {
@ -1483,7 +1483,7 @@
"kylekatarnls/multi-tester": "^2.0",
"phpmd/phpmd": "^2.9",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12.54",
"phpstan/phpstan": "^0.12.54 || ^1.0",
"phpunit/phpunit": "^7.5.20 || ^8.5.14",
"squizlabs/php_codesniffer": "^3.4"
},
@ -1549,7 +1549,7 @@
"type": "tidelift"
}
],
"time": "2021-12-03T14:59:52+00:00"
"time": "2022-02-13T18:13:33+00:00"
},
{
"name": "norkunas/onesignal-php-api",
@ -1621,16 +1621,16 @@
},
{
"name": "nyholm/psr7",
"version": "1.4.1",
"version": "1.5.0",
"source": {
"type": "git",
"url": "https://github.com/Nyholm/psr7.git",
"reference": "2212385b47153ea71b1c1b1374f8cb5e4f7892ec"
"reference": "1461e07a0f2a975a52082ca3b769ca912b816226"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Nyholm/psr7/zipball/2212385b47153ea71b1c1b1374f8cb5e4f7892ec",
"reference": "2212385b47153ea71b1c1b1374f8cb5e4f7892ec",
"url": "https://api.github.com/repos/Nyholm/psr7/zipball/1461e07a0f2a975a52082ca3b769ca912b816226",
"reference": "1461e07a0f2a975a52082ca3b769ca912b816226",
"shasum": ""
},
"require": {
@ -1682,7 +1682,7 @@
],
"support": {
"issues": "https://github.com/Nyholm/psr7/issues",
"source": "https://github.com/Nyholm/psr7/tree/1.4.1"
"source": "https://github.com/Nyholm/psr7/tree/1.5.0"
},
"funding": [
{
@ -1694,7 +1694,7 @@
"type": "github"
}
],
"time": "2021-07-02T08:32:20+00:00"
"time": "2022-02-02T18:37:57+00:00"
},
{
"name": "paypal/paypal-checkout-sdk",
@ -1719,8 +1719,8 @@
"type": "library",
"autoload": {
"psr-4": {
"PayPalCheckoutSdk\\": "lib/PayPalCheckoutSdk",
"Sample\\": "samples/"
"Sample\\": "samples/",
"PayPalCheckoutSdk\\": "lib/PayPalCheckoutSdk"
}
},
"notification-url": "https://packagist.org/downloads/",
@ -1771,8 +1771,8 @@
"type": "library",
"autoload": {
"psr-4": {
"PaypalPayoutsSDK\\": "lib/PaypalPayoutsSDK",
"Sample\\": "samples/"
"Sample\\": "samples/",
"PaypalPayoutsSDK\\": "lib/PaypalPayoutsSDK"
}
},
"notification-url": "https://packagist.org/downloads/",
@ -1952,16 +1952,16 @@
},
{
"name": "phpmailer/phpmailer",
"version": "v6.5.3",
"version": "v6.5.4",
"source": {
"type": "git",
"url": "https://github.com/PHPMailer/PHPMailer.git",
"reference": "baeb7cde6b60b1286912690ab0693c7789a31e71"
"reference": "c0d9f7dd3c2aa247ca44791e9209233829d82285"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/baeb7cde6b60b1286912690ab0693c7789a31e71",
"reference": "baeb7cde6b60b1286912690ab0693c7789a31e71",
"url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/c0d9f7dd3c2aa247ca44791e9209233829d82285",
"reference": "c0d9f7dd3c2aa247ca44791e9209233829d82285",
"shasum": ""
},
"require": {
@ -1974,10 +1974,10 @@
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"doctrine/annotations": "^1.2",
"php-parallel-lint/php-console-highlighter": "^0.5.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
"php-parallel-lint/php-parallel-lint": "^1.3.1",
"phpcompatibility/php-compatibility": "^9.3.5",
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.6.0",
"squizlabs/php_codesniffer": "^3.6.2",
"yoast/phpunit-polyfills": "^1.0.0"
},
"suggest": {
@ -2018,7 +2018,7 @@
"description": "PHPMailer is a full-featured email creation and transfer class for PHP",
"support": {
"issues": "https://github.com/PHPMailer/PHPMailer/issues",
"source": "https://github.com/PHPMailer/PHPMailer/tree/v6.5.3"
"source": "https://github.com/PHPMailer/PHPMailer/tree/v6.5.4"
},
"funding": [
{
@ -2026,20 +2026,20 @@
"type": "github"
}
],
"time": "2021-11-25T16:34:11+00:00"
"time": "2022-02-17T08:19:04+00:00"
},
{
"name": "phpseclib/phpseclib",
"version": "2.0.35",
"version": "2.0.36",
"source": {
"type": "git",
"url": "https://github.com/phpseclib/phpseclib.git",
"reference": "4e16cf3f5f927a7d3f5317820af795c0366c0420"
"reference": "a97547126396548c224703a267a30af1592be146"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/4e16cf3f5f927a7d3f5317820af795c0366c0420",
"reference": "4e16cf3f5f927a7d3f5317820af795c0366c0420",
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/a97547126396548c224703a267a30af1592be146",
"reference": "a97547126396548c224703a267a30af1592be146",
"shasum": ""
},
"require": {
@ -2119,7 +2119,7 @@
],
"support": {
"issues": "https://github.com/phpseclib/phpseclib/issues",
"source": "https://github.com/phpseclib/phpseclib/tree/2.0.35"
"source": "https://github.com/phpseclib/phpseclib/tree/2.0.36"
},
"funding": [
{
@ -2135,7 +2135,7 @@
"type": "tidelift"
}
],
"time": "2021-11-28T23:30:39+00:00"
"time": "2022-01-30T08:48:36+00:00"
},
{
"name": "psr/cache",
@ -2516,12 +2516,12 @@
},
"type": "library",
"autoload": {
"psr-4": {
"Ratchet\\Client\\": "src"
},
"files": [
"src/functions_include.php"
]
],
"psr-4": {
"Ratchet\\Client\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@ -2834,32 +2834,32 @@
},
{
"name": "react/promise",
"version": "v2.8.0",
"version": "v2.9.0",
"source": {
"type": "git",
"url": "https://github.com/reactphp/promise.git",
"reference": "f3cff96a19736714524ca0dd1d4130de73dbbbc4"
"reference": "234f8fd1023c9158e2314fa9d7d0e6a83db42910"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/reactphp/promise/zipball/f3cff96a19736714524ca0dd1d4130de73dbbbc4",
"reference": "f3cff96a19736714524ca0dd1d4130de73dbbbc4",
"url": "https://api.github.com/repos/reactphp/promise/zipball/234f8fd1023c9158e2314fa9d7d0e6a83db42910",
"reference": "234f8fd1023c9158e2314fa9d7d0e6a83db42910",
"shasum": ""
},
"require": {
"php": ">=5.4.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0 || ^6.5 || ^5.7 || ^4.8.36"
"phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.36"
},
"type": "library",
"autoload": {
"psr-4": {
"React\\Promise\\": "src/"
},
"files": [
"src/functions_include.php"
]
],
"psr-4": {
"React\\Promise\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@ -2868,7 +2868,23 @@
"authors": [
{
"name": "Jan Sorgalla",
"email": "jsorgalla@gmail.com"
"email": "jsorgalla@gmail.com",
"homepage": "https://sorgalla.com/"
},
{
"name": "Christian Lück",
"email": "christian@clue.engineering",
"homepage": "https://clue.engineering/"
},
{
"name": "Cees-Jan Kiewiet",
"email": "reactphp@ceesjankiewiet.nl",
"homepage": "https://wyrihaximus.net/"
},
{
"name": "Chris Boden",
"email": "cboden@gmail.com",
"homepage": "https://cboden.dev/"
}
],
"description": "A lightweight implementation of CommonJS Promises/A for PHP",
@ -2878,9 +2894,19 @@
],
"support": {
"issues": "https://github.com/reactphp/promise/issues",
"source": "https://github.com/reactphp/promise/tree/v2.8.0"
"source": "https://github.com/reactphp/promise/tree/v2.9.0"
},
"time": "2020-05-12T15:16:56+00:00"
"funding": [
{
"url": "https://github.com/WyriHaximus",
"type": "github"
},
{
"url": "https://github.com/clue",
"type": "github"
}
],
"time": "2022-02-11T10:27:51+00:00"
},
{
"name": "react/promise-timer",
@ -2906,12 +2932,12 @@
},
"type": "library",
"autoload": {
"psr-4": {
"React\\Promise\\Timer\\": "src/"
},
"files": [
"src/functions_include.php"
]
],
"psr-4": {
"React\\Promise\\Timer\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@ -2967,16 +2993,16 @@
},
{
"name": "react/socket",
"version": "v1.10.0",
"version": "v1.11.0",
"source": {
"type": "git",
"url": "https://github.com/reactphp/socket.git",
"reference": "d132fde589ea97f4165f2d94b5296499eac125ec"
"reference": "f474156aaab4f09041144fa8b57c7d70aed32a1c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/reactphp/socket/zipball/d132fde589ea97f4165f2d94b5296499eac125ec",
"reference": "d132fde589ea97f4165f2d94b5296499eac125ec",
"url": "https://api.github.com/repos/reactphp/socket/zipball/f474156aaab4f09041144fa8b57c7d70aed32a1c",
"reference": "f474156aaab4f09041144fa8b57c7d70aed32a1c",
"shasum": ""
},
"require": {
@ -2985,11 +3011,11 @@
"react/dns": "^1.8",
"react/event-loop": "^1.2",
"react/promise": "^2.6.0 || ^1.2.1",
"react/promise-timer": "^1.4.0",
"react/promise-timer": "^1.8",
"react/stream": "^1.2"
},
"require-dev": {
"clue/block-react": "^1.2",
"clue/block-react": "^1.5",
"phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35",
"react/promise-stream": "^1.2"
},
@ -3035,7 +3061,7 @@
],
"support": {
"issues": "https://github.com/reactphp/socket/issues",
"source": "https://github.com/reactphp/socket/tree/v1.10.0"
"source": "https://github.com/reactphp/socket/tree/v1.11.0"
},
"funding": [
{
@ -3047,7 +3073,7 @@
"type": "github"
}
],
"time": "2021-11-29T10:08:24+00:00"
"time": "2022-01-14T10:14:32+00:00"
},
{
"name": "react/stream",
@ -3198,16 +3224,16 @@
},
{
"name": "stripe/stripe-php",
"version": "v7.108.0",
"version": "v7.114.0",
"source": {
"type": "git",
"url": "https://github.com/stripe/stripe-php.git",
"reference": "81524a3087612f1b41846b9cd6deb80150af985b"
"reference": "63be231686c6874befb5b3a47fb8effb4c30b78b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/stripe/stripe-php/zipball/81524a3087612f1b41846b9cd6deb80150af985b",
"reference": "81524a3087612f1b41846b9cd6deb80150af985b",
"url": "https://api.github.com/repos/stripe/stripe-php/zipball/63be231686c6874befb5b3a47fb8effb4c30b78b",
"reference": "63be231686c6874befb5b3a47fb8effb4c30b78b",
"shasum": ""
},
"require": {
@ -3217,7 +3243,7 @@
"php": ">=5.6.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "3.4.0",
"friendsofphp/php-cs-fixer": "3.5.0",
"phpstan/phpstan": "^1.2",
"phpunit/phpunit": "^5.7 || ^9.0",
"squizlabs/php_codesniffer": "^3.3"
@ -3252,9 +3278,9 @@
],
"support": {
"issues": "https://github.com/stripe/stripe-php/issues",
"source": "https://github.com/stripe/stripe-php/tree/v7.108.0"
"source": "https://github.com/stripe/stripe-php/tree/v7.114.0"
},
"time": "2021-12-22T16:40:02+00:00"
"time": "2022-02-15T22:48:31+00:00"
},
{
"name": "symfony/deprecation-contracts",
@ -3325,16 +3351,16 @@
},
{
"name": "symfony/http-client",
"version": "v5.4.2",
"version": "v5.4.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-client.git",
"reference": "5e344f1402584a56631c81a24ec9403e3159c790"
"reference": "a5a467b62dc91eb253db51a91a2c1977f611f60c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-client/zipball/5e344f1402584a56631c81a24ec9403e3159c790",
"reference": "5e344f1402584a56631c81a24ec9403e3159c790",
"url": "https://api.github.com/repos/symfony/http-client/zipball/a5a467b62dc91eb253db51a91a2c1977f611f60c",
"reference": "a5a467b62dc91eb253db51a91a2c1977f611f60c",
"shasum": ""
},
"require": {
@ -3392,7 +3418,7 @@
"description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-client/tree/v5.4.2"
"source": "https://github.com/symfony/http-client/tree/v5.4.3"
},
"funding": [
{
@ -3408,7 +3434,7 @@
"type": "tidelift"
}
],
"time": "2021-12-29T10:10:35+00:00"
"time": "2022-01-22T06:53:01+00:00"
},
{
"name": "symfony/http-client-contracts",
@ -3490,16 +3516,16 @@
},
{
"name": "symfony/http-foundation",
"version": "v5.4.2",
"version": "v5.4.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "ce952af52877eaf3eab5d0c08cc0ea865ed37313"
"reference": "ef409ff341a565a3663157d4324536746d49a0c7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/ce952af52877eaf3eab5d0c08cc0ea865ed37313",
"reference": "ce952af52877eaf3eab5d0c08cc0ea865ed37313",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/ef409ff341a565a3663157d4324536746d49a0c7",
"reference": "ef409ff341a565a3663157d4324536746d49a0c7",
"shasum": ""
},
"require": {
@ -3543,7 +3569,7 @@
"description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-foundation/tree/v5.4.2"
"source": "https://github.com/symfony/http-foundation/tree/v5.4.3"
},
"funding": [
{
@ -3559,20 +3585,20 @@
"type": "tidelift"
}
],
"time": "2021-12-28T17:15:56+00:00"
"time": "2022-01-02T09:53:40+00:00"
},
{
"name": "symfony/options-resolver",
"version": "v5.4.0",
"version": "v5.4.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/options-resolver.git",
"reference": "b0fb78576487af19c500aaddb269fd36701d4847"
"reference": "cc1147cb11af1b43f503ac18f31aa3bec213aba8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/options-resolver/zipball/b0fb78576487af19c500aaddb269fd36701d4847",
"reference": "b0fb78576487af19c500aaddb269fd36701d4847",
"url": "https://api.github.com/repos/symfony/options-resolver/zipball/cc1147cb11af1b43f503ac18f31aa3bec213aba8",
"reference": "cc1147cb11af1b43f503ac18f31aa3bec213aba8",
"shasum": ""
},
"require": {
@ -3612,7 +3638,7 @@
"options"
],
"support": {
"source": "https://github.com/symfony/options-resolver/tree/v5.4.0"
"source": "https://github.com/symfony/options-resolver/tree/v5.4.3"
},
"funding": [
{
@ -3628,7 +3654,7 @@
"type": "tidelift"
}
],
"time": "2021-11-23T10:19:22+00:00"
"time": "2022-01-02T09:53:40+00:00"
},
{
"name": "symfony/polyfill-intl-idn",
@ -3663,12 +3689,12 @@
}
},
"autoload": {
"psr-4": {
"Symfony\\Polyfill\\Intl\\Idn\\": ""
},
"files": [
"bootstrap.php"
]
],
"psr-4": {
"Symfony\\Polyfill\\Intl\\Idn\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@ -3748,12 +3774,12 @@
}
},
"autoload": {
"psr-4": {
"Symfony\\Polyfill\\Intl\\Normalizer\\": ""
},
"files": [
"bootstrap.php"
],
"psr-4": {
"Symfony\\Polyfill\\Intl\\Normalizer\\": ""
},
"classmap": [
"Resources/stubs"
]
@ -3835,12 +3861,12 @@
}
},
"autoload": {
"psr-4": {
"Symfony\\Polyfill\\Mbstring\\": ""
},
"files": [
"bootstrap.php"
]
],
"psr-4": {
"Symfony\\Polyfill\\Mbstring\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@ -3912,12 +3938,12 @@
}
},
"autoload": {
"psr-4": {
"Symfony\\Polyfill\\Php72\\": ""
},
"files": [
"bootstrap.php"
]
],
"psr-4": {
"Symfony\\Polyfill\\Php72\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@ -3988,12 +4014,12 @@
}
},
"autoload": {
"psr-4": {
"Symfony\\Polyfill\\Php73\\": ""
},
"files": [
"bootstrap.php"
],
"psr-4": {
"Symfony\\Polyfill\\Php73\\": ""
},
"classmap": [
"Resources/stubs"
]
@ -4067,12 +4093,12 @@
}
},
"autoload": {
"psr-4": {
"Symfony\\Polyfill\\Php80\\": ""
},
"files": [
"bootstrap.php"
],
"psr-4": {
"Symfony\\Polyfill\\Php80\\": ""
},
"classmap": [
"Resources/stubs"
]
@ -4124,16 +4150,16 @@
},
{
"name": "symfony/routing",
"version": "v5.4.0",
"version": "v5.4.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
"reference": "9eeae93c32ca86746e5d38f3679e9569981038b1"
"reference": "44b29c7a94e867ccde1da604792f11a469958981"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/routing/zipball/9eeae93c32ca86746e5d38f3679e9569981038b1",
"reference": "9eeae93c32ca86746e5d38f3679e9569981038b1",
"url": "https://api.github.com/repos/symfony/routing/zipball/44b29c7a94e867ccde1da604792f11a469958981",
"reference": "44b29c7a94e867ccde1da604792f11a469958981",
"shasum": ""
},
"require": {
@ -4194,7 +4220,7 @@
"url"
],
"support": {
"source": "https://github.com/symfony/routing/tree/v5.4.0"
"source": "https://github.com/symfony/routing/tree/v5.4.3"
},
"funding": [
{
@ -4210,7 +4236,7 @@
"type": "tidelift"
}
],
"time": "2021-11-23T10:19:22+00:00"
"time": "2022-01-02T09:53:40+00:00"
},
{
"name": "symfony/service-contracts",
@ -4297,16 +4323,16 @@
},
{
"name": "symfony/translation",
"version": "v5.4.2",
"version": "v5.4.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
"reference": "ff8bb2107b6a549dc3c5dd9c498dcc82c9c098ca"
"reference": "a9dd7403232c61e87e27fb306bbcd1627f245d70"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/ff8bb2107b6a549dc3c5dd9c498dcc82c9c098ca",
"reference": "ff8bb2107b6a549dc3c5dd9c498dcc82c9c098ca",
"url": "https://api.github.com/repos/symfony/translation/zipball/a9dd7403232c61e87e27fb306bbcd1627f245d70",
"reference": "a9dd7403232c61e87e27fb306bbcd1627f245d70",
"shasum": ""
},
"require": {
@ -4374,7 +4400,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/translation/tree/v5.4.2"
"source": "https://github.com/symfony/translation/tree/v5.4.3"
},
"funding": [
{
@ -4390,7 +4416,7 @@
"type": "tidelift"
}
],
"time": "2021-12-25T19:45:36+00:00"
"time": "2022-01-07T00:28:17+00:00"
},
{
"name": "symfony/translation-contracts",
@ -4486,5 +4512,5 @@
"platform-overrides": {
"php": "7.3"
},
"plugin-api-version": "2.2.0"
"plugin-api-version": "2.0.0"
}

View file

@ -27,6 +27,9 @@ abstract class AbstractModel implements \ArrayAccess
return $this->definition;
}
/**
* @return mixed|null
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
@ -34,18 +37,27 @@ abstract class AbstractModel implements \ArrayAccess
? $this->definition[$offset] : null;
}
/**
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
$this->definition[$offset] = $value;
}
/**
* @return bool
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return isset($this->definition[$offset]);
}
/**
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{

View file

@ -13,18 +13,24 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise createConnectionAsync(array $args = [])
* @method \Aws\Result createService(array $args = [])
* @method \GuzzleHttp\Promise\Promise createServiceAsync(array $args = [])
* @method \Aws\Result createVpcConnector(array $args = [])
* @method \GuzzleHttp\Promise\Promise createVpcConnectorAsync(array $args = [])
* @method \Aws\Result deleteAutoScalingConfiguration(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteAutoScalingConfigurationAsync(array $args = [])
* @method \Aws\Result deleteConnection(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteConnectionAsync(array $args = [])
* @method \Aws\Result deleteService(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteServiceAsync(array $args = [])
* @method \Aws\Result deleteVpcConnector(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteVpcConnectorAsync(array $args = [])
* @method \Aws\Result describeAutoScalingConfiguration(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeAutoScalingConfigurationAsync(array $args = [])
* @method \Aws\Result describeCustomDomains(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeCustomDomainsAsync(array $args = [])
* @method \Aws\Result describeService(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeServiceAsync(array $args = [])
* @method \Aws\Result describeVpcConnector(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeVpcConnectorAsync(array $args = [])
* @method \Aws\Result disassociateCustomDomain(array $args = [])
* @method \GuzzleHttp\Promise\Promise disassociateCustomDomainAsync(array $args = [])
* @method \Aws\Result listAutoScalingConfigurations(array $args = [])
@ -37,6 +43,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise listServicesAsync(array $args = [])
* @method \Aws\Result listTagsForResource(array $args = [])
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
* @method \Aws\Result listVpcConnectors(array $args = [])
* @method \GuzzleHttp\Promise\Promise listVpcConnectorsAsync(array $args = [])
* @method \Aws\Result pauseService(array $args = [])
* @method \GuzzleHttp\Promise\Promise pauseServiceAsync(array $args = [])
* @method \Aws\Result resumeService(array $args = [])

View file

@ -13,6 +13,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise deleteConnectorProfileAsync(array $args = [])
* @method \Aws\Result deleteFlow(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteFlowAsync(array $args = [])
* @method \Aws\Result describeConnector(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeConnectorAsync(array $args = [])
* @method \Aws\Result describeConnectorEntity(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeConnectorEntityAsync(array $args = [])
* @method \Aws\Result describeConnectorProfiles(array $args = [])
@ -25,16 +27,22 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise describeFlowExecutionRecordsAsync(array $args = [])
* @method \Aws\Result listConnectorEntities(array $args = [])
* @method \GuzzleHttp\Promise\Promise listConnectorEntitiesAsync(array $args = [])
* @method \Aws\Result listConnectors(array $args = [])
* @method \GuzzleHttp\Promise\Promise listConnectorsAsync(array $args = [])
* @method \Aws\Result listFlows(array $args = [])
* @method \GuzzleHttp\Promise\Promise listFlowsAsync(array $args = [])
* @method \Aws\Result listTagsForResource(array $args = [])
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
* @method \Aws\Result registerConnector(array $args = [])
* @method \GuzzleHttp\Promise\Promise registerConnectorAsync(array $args = [])
* @method \Aws\Result startFlow(array $args = [])
* @method \GuzzleHttp\Promise\Promise startFlowAsync(array $args = [])
* @method \Aws\Result stopFlow(array $args = [])
* @method \GuzzleHttp\Promise\Promise stopFlowAsync(array $args = [])
* @method \Aws\Result tagResource(array $args = [])
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
* @method \Aws\Result unregisterConnector(array $args = [])
* @method \GuzzleHttp\Promise\Promise unregisterConnectorAsync(array $args = [])
* @method \Aws\Result untagResource(array $args = [])
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
* @method \Aws\Result updateConnectorProfile(array $args = [])

View file

@ -31,6 +31,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise describeBudgetActionsForAccountAsync(array $args = [])
* @method \Aws\Result describeBudgetActionsForBudget(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeBudgetActionsForBudgetAsync(array $args = [])
* @method \Aws\Result describeBudgetNotificationsForAccount(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeBudgetNotificationsForAccountAsync(array $args = [])
* @method \Aws\Result describeBudgetPerformanceHistory(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeBudgetPerformanceHistoryAsync(array $args = [])
* @method \Aws\Result describeBudgets(array $args = [])

View file

@ -21,6 +21,8 @@ use Aws\EndpointDiscovery\ConfigurationProvider;
use Aws\Exception\InvalidRegionException;
use Aws\Retry\ConfigurationInterface as RetryConfigInterface;
use Aws\Retry\ConfigurationProvider as RetryConfigProvider;
use Aws\DefaultsMode\ConfigurationInterface as ConfigModeInterface;
use Aws\DefaultsMode\ConfigurationProvider as ConfigModeProvider;
use Aws\Signature\SignatureProvider;
use Aws\Endpoint\EndpointProvider;
use GuzzleHttp\Promise\PromiseInterface;
@ -105,6 +107,13 @@ class ClientResolver
'fn' => [__CLASS__, '_apply_api_provider'],
'default' => [ApiProvider::class, 'defaultProvider'],
],
'configuration_mode' => [
'type' => 'value',
'valid' => [ConfigModeInterface::class, CacheInterface::class, 'string', 'closure'],
'doc' => "Sets the default configuration mode. Otherwise provide an instance of Aws\DefaultsMode\ConfigurationInterface, an instance of Aws\CacheInterface, or a string containing a valid mode",
'fn' => [__CLASS__, '_apply_defaults'],
'default' => [ConfigModeProvider::class, 'defaultProvider']
],
'use_fips_endpoint' => [
'type' => 'value',
'valid' => ['bool', UseFipsEndpointConfiguration::class, CacheInterface::class, 'callable'],
@ -453,6 +462,44 @@ class ClientResolver
}
}
public static function _apply_defaults($value, array &$args, HandlerList $list)
{
$config = ConfigModeProvider::unwrap($value);
if ($config->getMode() !== 'legacy') {
if (!isset($args['retries']) && !is_null($config->getRetryMode())) {
$args['retries'] = ['mode' => $config->getRetryMode()];
}
if (
!isset($args['sts_regional_endpoints'])
&& !is_null($config->getStsRegionalEndpoints())
) {
$args['sts_regional_endpoints'] = ['mode' => $config->getStsRegionalEndpoints()];
}
if (
!isset($args['s3_us_east_1_regional_endpoint'])
&& !is_null($config->getS3UsEast1RegionalEndpoints())
) {
$args['s3_us_east_1_regional_endpoint'] = ['mode' => $config->getS3UsEast1RegionalEndpoints()];
}
if (!isset($args['http'])) {
$args['http'] = [];
}
if (
!isset($args['http']['connect_timeout'])
&& !is_null($config->getConnectTimeoutInMillis())
) {
$args['http']['connect_timeout'] = $config->getConnectTimeoutInMillis() / 1000;
}
if (
!isset($args['http']['timeout'])
&& !is_null($config->getHttpRequestTimeoutInMillis())
) {
$args['http']['timeout'] = $config->getHttpRequestTimeoutInMillis() / 1000;
}
}
}
public static function _apply_credentials($value, array &$args)
{
if (is_callable($value)) {

View file

@ -161,7 +161,7 @@ class ConfigurationProvider extends AbstractConfigurationProvider
$profile = $profile ?: (getenv(self::ENV_PROFILE) ?: 'aws_csm');
return function () use ($profile, $filename) {
if (!is_readable($filename)) {
if (!@is_readable($filename)) {
return self::reject("Cannot read CSM config from $filename");
}
$data = \Aws\parse_ini_file($filename, true);

View file

@ -38,6 +38,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise describeAccountLimitsAsync(array $args = [])
* @method \Aws\Result describeChangeSet(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeChangeSetAsync(array $args = [])
* @method \Aws\Result describeChangeSetHooks(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeChangeSetHooksAsync(array $args = [])
* @method \Aws\Result describePublisher(array $args = [])
* @method \GuzzleHttp\Promise\Promise describePublisherAsync(array $args = [])
* @method \Aws\Result describeStackDriftDetectionStatus(array $args = [])

View file

@ -31,6 +31,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise deleteEndpointAsync(array $args = [])
* @method \Aws\Result deleteEntityRecognizer(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteEntityRecognizerAsync(array $args = [])
* @method \Aws\Result deleteResourcePolicy(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteResourcePolicyAsync(array $args = [])
* @method \Aws\Result describeDocumentClassificationJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeDocumentClassificationJobAsync(array $args = [])
* @method \Aws\Result describeDocumentClassifier(array $args = [])
@ -49,6 +51,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise describeKeyPhrasesDetectionJobAsync(array $args = [])
* @method \Aws\Result describePiiEntitiesDetectionJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise describePiiEntitiesDetectionJobAsync(array $args = [])
* @method \Aws\Result describeResourcePolicy(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeResourcePolicyAsync(array $args = [])
* @method \Aws\Result describeSentimentDetectionJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeSentimentDetectionJobAsync(array $args = [])
* @method \Aws\Result describeTopicsDetectionJob(array $args = [])
@ -65,6 +69,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise detectSentimentAsync(array $args = [])
* @method \Aws\Result detectSyntax(array $args = [])
* @method \GuzzleHttp\Promise\Promise detectSyntaxAsync(array $args = [])
* @method \Aws\Result importModel(array $args = [])
* @method \GuzzleHttp\Promise\Promise importModelAsync(array $args = [])
* @method \Aws\Result listDocumentClassificationJobs(array $args = [])
* @method \GuzzleHttp\Promise\Promise listDocumentClassificationJobsAsync(array $args = [])
* @method \Aws\Result listDocumentClassifierSummaries(array $args = [])
@ -93,6 +99,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
* @method \Aws\Result listTopicsDetectionJobs(array $args = [])
* @method \GuzzleHttp\Promise\Promise listTopicsDetectionJobsAsync(array $args = [])
* @method \Aws\Result putResourcePolicy(array $args = [])
* @method \GuzzleHttp\Promise\Promise putResourcePolicyAsync(array $args = [])
* @method \Aws\Result startDocumentClassificationJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise startDocumentClassificationJobAsync(array $args = [])
* @method \Aws\Result startDominantLanguageDetectionJob(array $args = [])

View file

@ -9,6 +9,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise associateApprovedOriginAsync(array $args = [])
* @method \Aws\Result associateBot(array $args = [])
* @method \GuzzleHttp\Promise\Promise associateBotAsync(array $args = [])
* @method \Aws\Result associateDefaultVocabulary(array $args = [])
* @method \GuzzleHttp\Promise\Promise associateDefaultVocabularyAsync(array $args = [])
* @method \Aws\Result associateInstanceStorageConfig(array $args = [])
* @method \GuzzleHttp\Promise\Promise associateInstanceStorageConfigAsync(array $args = [])
* @method \Aws\Result associateLambdaFunction(array $args = [])
@ -47,6 +49,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise createUserAsync(array $args = [])
* @method \Aws\Result createUserHierarchyGroup(array $args = [])
* @method \GuzzleHttp\Promise\Promise createUserHierarchyGroupAsync(array $args = [])
* @method \Aws\Result createVocabulary(array $args = [])
* @method \GuzzleHttp\Promise\Promise createVocabularyAsync(array $args = [])
* @method \Aws\Result deleteContactFlow(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteContactFlowAsync(array $args = [])
* @method \Aws\Result deleteContactFlowModule(array $args = [])
@ -67,6 +71,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise deleteUserAsync(array $args = [])
* @method \Aws\Result deleteUserHierarchyGroup(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteUserHierarchyGroupAsync(array $args = [])
* @method \Aws\Result deleteVocabulary(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteVocabularyAsync(array $args = [])
* @method \Aws\Result describeAgentStatus(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeAgentStatusAsync(array $args = [])
* @method \Aws\Result describeContact(array $args = [])
@ -97,6 +103,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise describeUserHierarchyGroupAsync(array $args = [])
* @method \Aws\Result describeUserHierarchyStructure(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeUserHierarchyStructureAsync(array $args = [])
* @method \Aws\Result describeVocabulary(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeVocabularyAsync(array $args = [])
* @method \Aws\Result disassociateApprovedOrigin(array $args = [])
* @method \GuzzleHttp\Promise\Promise disassociateApprovedOriginAsync(array $args = [])
* @method \Aws\Result disassociateBot(array $args = [])
@ -133,6 +141,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise listContactFlowsAsync(array $args = [])
* @method \Aws\Result listContactReferences(array $args = [])
* @method \GuzzleHttp\Promise\Promise listContactReferencesAsync(array $args = [])
* @method \Aws\Result listDefaultVocabularies(array $args = [])
* @method \GuzzleHttp\Promise\Promise listDefaultVocabulariesAsync(array $args = [])
* @method \Aws\Result listHoursOfOperations(array $args = [])
* @method \GuzzleHttp\Promise\Promise listHoursOfOperationsAsync(array $args = [])
* @method \Aws\Result listInstanceAttributes(array $args = [])
@ -177,6 +187,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise listUsersAsync(array $args = [])
* @method \Aws\Result resumeContactRecording(array $args = [])
* @method \GuzzleHttp\Promise\Promise resumeContactRecordingAsync(array $args = [])
* @method \Aws\Result searchVocabularies(array $args = [])
* @method \GuzzleHttp\Promise\Promise searchVocabulariesAsync(array $args = [])
* @method \Aws\Result startChatContact(array $args = [])
* @method \GuzzleHttp\Promise\Promise startChatContactAsync(array $args = [])
* @method \Aws\Result startContactRecording(array $args = [])

View file

@ -98,14 +98,14 @@ class AssumeRoleWithWebIdentityCredentialProvider
$result = null;
while ($result == null) {
try {
$token = is_readable($this->tokenFile)
$token = @is_readable($this->tokenFile)
? file_get_contents($this->tokenFile)
: false;
if (false === $token) {
clearstatcache(true, dirname($this->tokenFile) . "/" . readlink($this->tokenFile));
clearstatcache(true, dirname($this->tokenFile) . "/" . dirname(readlink($this->tokenFile)));
clearstatcache(true, $this->tokenFile);
if (!is_readable($this->tokenFile)) {
if (!@is_readable($this->tokenFile)) {
throw new CredentialsException(
"Unreadable tokenfile at location {$this->tokenFile}"
);

View file

@ -327,7 +327,7 @@ class CredentialProvider
$filename = $filename ?: (self::getHomeDir() . '/.aws/config');
return function () use ($ssoProfileName, $filename, $config) {
if (!is_readable($filename)) {
if (!@is_readable($filename)) {
return self::reject("Cannot read credentials from $filename");
}
$profiles = self::loadProfiles($filename);
@ -351,7 +351,7 @@ class CredentialProvider
. utf8_encode(sha1($ssoProfile['sso_start_url']))
. ".json";
if (!is_readable($tokenLocation)) {
if (!@is_readable($tokenLocation)) {
return self::reject("Unable to read token file at $tokenLocation");
}
@ -530,7 +530,7 @@ class CredentialProvider
: false;
$stsClient = isset($config['stsClient']) ? $config['stsClient'] : null;
if (!is_readable($filename)) {
if (!@is_readable($filename)) {
return self::reject("Cannot read credentials from $filename");
}
$data = self::loadProfiles($filename);
@ -613,7 +613,7 @@ class CredentialProvider
$profile = $profile ?: (getenv(self::ENV_PROFILE) ?: 'default');
return function () use ($profile, $filename) {
if (!is_readable($filename)) {
if (!@is_readable($filename)) {
return self::reject("Cannot read process credentials from $filename");
}
$data = \Aws\parse_ini_file($filename, true, INI_SCANNER_RAW);

View file

@ -38,6 +38,10 @@ class MetadataEnvelope implements ArrayAccess, IteratorAggregate, JsonSerializab
return array_keys(self::$constants);
}
/**
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($name, $value)
{
$constants = self::getConstantValues();

View file

@ -9,6 +9,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise addProfileKeyAsync(array $args = [])
* @method \Aws\Result createDomain(array $args = [])
* @method \GuzzleHttp\Promise\Promise createDomainAsync(array $args = [])
* @method \Aws\Result createIntegrationWorkflow(array $args = [])
* @method \GuzzleHttp\Promise\Promise createIntegrationWorkflowAsync(array $args = [])
* @method \Aws\Result createProfile(array $args = [])
* @method \GuzzleHttp\Promise\Promise createProfileAsync(array $args = [])
* @method \Aws\Result deleteDomain(array $args = [])
@ -23,6 +25,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise deleteProfileObjectAsync(array $args = [])
* @method \Aws\Result deleteProfileObjectType(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteProfileObjectTypeAsync(array $args = [])
* @method \Aws\Result deleteWorkflow(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteWorkflowAsync(array $args = [])
* @method \Aws\Result getAutoMergingPreview(array $args = [])
* @method \GuzzleHttp\Promise\Promise getAutoMergingPreviewAsync(array $args = [])
* @method \Aws\Result getDomain(array $args = [])
@ -37,6 +41,10 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise getProfileObjectTypeAsync(array $args = [])
* @method \Aws\Result getProfileObjectTypeTemplate(array $args = [])
* @method \GuzzleHttp\Promise\Promise getProfileObjectTypeTemplateAsync(array $args = [])
* @method \Aws\Result getWorkflow(array $args = [])
* @method \GuzzleHttp\Promise\Promise getWorkflowAsync(array $args = [])
* @method \Aws\Result getWorkflowSteps(array $args = [])
* @method \GuzzleHttp\Promise\Promise getWorkflowStepsAsync(array $args = [])
* @method \Aws\Result listAccountIntegrations(array $args = [])
* @method \GuzzleHttp\Promise\Promise listAccountIntegrationsAsync(array $args = [])
* @method \Aws\Result listDomains(array $args = [])
@ -53,6 +61,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise listProfileObjectsAsync(array $args = [])
* @method \Aws\Result listTagsForResource(array $args = [])
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
* @method \Aws\Result listWorkflows(array $args = [])
* @method \GuzzleHttp\Promise\Promise listWorkflowsAsync(array $args = [])
* @method \Aws\Result mergeProfiles(array $args = [])
* @method \GuzzleHttp\Promise\Promise mergeProfilesAsync(array $args = [])
* @method \Aws\Result putIntegration(array $args = [])

View file

@ -0,0 +1,129 @@
<?php
namespace Aws\DefaultsMode;
use Aws\DefaultsMode\Exception\ConfigurationException;
class Configuration implements ConfigurationInterface
{
private $mode;
private $retryMode;
private $stsRegionalEndpoints;
private $s3UsEast1RegionalEndpoints;
private $connectTimeoutInMillis;
private $httpRequestTimeoutInMillis;
private $validModes = [
'legacy',
'standard',
'cross-region',
'in-region',
'mobile',
'auto',
];
public function __construct($mode = 'legacy')
{
$mode = strtolower($mode);
if (!in_array($mode, $this->validModes)) {
throw new \InvalidArgumentException("'{$mode}' is not a valid mode."
. " The mode has to be 'legacy', 'standard', 'cross-region', 'in-region',"
. " 'mobile', or 'auto'.");
}
$this->mode = $mode;
if ($this->mode == 'legacy') {
return;
}
$data = \Aws\load_compiled_json(
__DIR__ . '/../data/sdk-default-configuration.json'
);
$this->retryMode = $data['base']['retryMode'];
$this->stsRegionalEndpoints = $data['base']['stsRegionalEndpoints'];
$this->s3UsEast1RegionalEndpoints = $data['base']['s3UsEast1RegionalEndpoints'];
$this->connectTimeoutInMillis = $data['base']['connectTimeoutInMillis'];
if (isset($data['modes'][$mode])) {
$modeData = $data['modes'][$mode];
foreach ($modeData as $settingName => $settingValue) {
if (isset($this->$settingName)) {
if (isset($settingValue['override'])) {
$this->$settingName = $settingValue['override'];
} else if (isset($settingValue['multiply'])) {
$this->$settingName *= $settingValue['multiply'];
} else if (isset($settingValue['add'])) {
$this->$settingName += $settingValue['add'];
}
} else {
if (isset($settingValue['override'])) {
$this->$settingName = $settingValue['override'];
}
}
}
}
}
/**
* {@inheritdoc}
*/
public function getMode()
{
return $this->mode;
}
/**
* {@inheritdoc}
*/
public function getRetryMode()
{
return $this->retryMode;
}
/**
* {@inheritdoc}
*/
public function getStsRegionalEndpoints()
{
return $this->stsRegionalEndpoints;
}
/**
* {@inheritdoc}
*/
public function getS3UsEast1RegionalEndpoints()
{
return $this->s3UsEast1RegionalEndpoints;
}
/**
* {@inheritdoc}
*/
public function getConnectTimeoutInMillis()
{
return $this->connectTimeoutInMillis;
}
/**
* {@inheritdoc}
*/
public function getHttpRequestTimeoutInMillis()
{
return $this->httpRequestTimeoutInMillis;
}
/**
* {@inheritdoc}
*/
public function toArray()
{
return [
'mode' => $this->getMode(),
'retry_mode' => $this->getRetryMode(),
'sts_regional_endpoints' => $this->getStsRegionalEndpoints(),
's3_us_east_1_regional_endpoint' => $this->getS3UsEast1RegionalEndpoints(),
'connect_timeout_in_milliseconds' => $this->getConnectTimeoutInMillis(),
'http_request_timeout_in_milliseconds' => $this->getHttpRequestTimeoutInMillis(),
];
}
}

View file

@ -0,0 +1,51 @@
<?php
namespace Aws\DefaultsMode;
/**
* Provides access to defaultsMode configuration
*/
interface ConfigurationInterface
{
/**
* Returns the configuration mode. Available modes include 'legacy', 'standard', and
* 'adapative'.
*
* @return string
*/
public function getMode();
/**
* Returns the sts regional endpoints option
*
* @return bool
*/
public function getStsRegionalEndpoints();
/**
* Returns the s3 us-east-1 regional endpoints option
*
* @return bool
*/
public function getS3UsEast1RegionalEndpoints();
/**
* Returns the connection timeout in milliseconds
*
* @return int
*/
public function getConnectTimeoutInMillis();
/**
* Returns the http request timeout in milliseconds
*
* @return int
*/
public function getHttpRequestTimeoutInMillis();
/**
* Returns the configuration as an associative array
*
* @return array
*/
public function toArray();
}

View file

@ -0,0 +1,201 @@
<?php
namespace Aws\DefaultsMode;
use Aws\AbstractConfigurationProvider;
use Aws\CacheInterface;
use Aws\ConfigurationProviderInterface;
use Aws\DefaultsMode\Exception\ConfigurationException;
use GuzzleHttp\Promise;
use GuzzleHttp\Promise\PromiseInterface;
/**
* A configuration provider is a function that returns a promise that is
* fulfilled with a {@see \Aws\DefaultsMode\ConfigurationInterface}
* or rejected with an {@see \Aws\DefaultsMode\Exception\ConfigurationException}.
*
* <code>
* use Aws\Sts\RegionalEndpoints\ConfigurationProvider;
* $provider = ConfigurationProvider::defaultProvider();
* // Returns a ConfigurationInterface or throws.
* $config = $provider()->wait();
* </code>
*
* Configuration providers can be composed to create configuration using
* conditional logic that can create different configurations in different
* environments. You can compose multiple providers into a single provider using
* {@see \Aws\DefaultsMode\ConfigurationProvider::chain}. This function
* accepts providers as variadic arguments and returns a new function that will
* invoke each provider until a successful configuration is returned.
*
* <code>
* // First try an INI file at this location.
* $a = ConfigurationProvider::ini(null, '/path/to/file.ini');
* // Then try an INI file at this location.
* $b = ConfigurationProvider::ini(null, '/path/to/other-file.ini');
* // Then try loading from environment variables.
* $c = ConfigurationProvider::env();
* // Combine the three providers together.
* $composed = ConfigurationProvider::chain($a, $b, $c);
* // Returns a promise that is fulfilled with a configuration or throws.
* $promise = $composed();
* // Wait on the configuration to resolve.
* $config = $promise->wait();
* </code>
*/
class ConfigurationProvider extends AbstractConfigurationProvider
implements ConfigurationProviderInterface
{
const DEFAULT_MODE = 'legacy';
const ENV_MODE = 'AWS_DEFAULTS_MODE';
const ENV_PROFILE = 'AWS_PROFILE';
const INI_MODE = 'defaults_mode';
public static $cacheKey = 'aws_defaults_mode';
protected static $interfaceClass = ConfigurationInterface::class;
protected static $exceptionClass = ConfigurationException::class;
/**
* Create a default config provider that first checks for environment
* variables, then checks for a specified profile in the environment-defined
* config file location (env variable is 'AWS_CONFIG_FILE', file location
* defaults to ~/.aws/config), then checks for the "default" profile in the
* environment-defined config file location, and failing those uses a default
* fallback set of configuration options.
*
* This provider is automatically wrapped in a memoize function that caches
* previously provided config options.
*
* @param array $config
*
* @return callable
*/
public static function defaultProvider(array $config = [])
{
$configProviders = [self::env()];
if (
!isset($config['use_aws_shared_config_files'])
|| $config['use_aws_shared_config_files'] != false
) {
$configProviders[] = self::ini();
}
$configProviders[] = self::fallback();
$memo = self::memoize(
call_user_func_array('self::chain', $configProviders)
);
if (isset($config['defaultsMode'])
&& $config['defaultsMode'] instanceof CacheInterface
) {
return self::cache($memo, $config['defaultsMode'], self::$cacheKey);
}
return $memo;
}
/**
* Provider that creates config from environment variables.
*
* @return callable
*/
public static function env()
{
return function () {
// Use config from environment variables, if available
$mode = getenv(self::ENV_MODE);
if (!empty($mode)) {
return Promise\Create::promiseFor(
new Configuration($mode)
);
}
return self::reject('Could not find environment variable config'
. ' in ' . self::ENV_MODE);
};
}
/**
* Fallback config options when other sources are not set.
*
* @return callable
*/
public static function fallback()
{
return function () {
return Promise\Create::promiseFor(
new Configuration( self::DEFAULT_MODE)
);
};
}
/**
* Config provider that creates config using a config file whose location
* is specified by an environment variable 'AWS_CONFIG_FILE', defaulting to
* ~/.aws/config if not specified
*
* @param string|null $profile Profile to use. If not specified will use
* the "default" profile.
* @param string|null $filename If provided, uses a custom filename rather
* than looking in the default directory.
*
* @return callable
*/
public static function ini(
$profile = null,
$filename = null
) {
$filename = $filename ?: (self::getDefaultConfigFilename());
$profile = $profile ?: (getenv(self::ENV_PROFILE) ?: 'default');
return function () use ($profile, $filename) {
if (!is_readable($filename)) {
return self::reject("Cannot read configuration from $filename");
}
$data = \Aws\parse_ini_file($filename, true);
if ($data === false) {
return self::reject("Invalid config file: $filename");
}
if (!isset($data[$profile])) {
return self::reject("'$profile' not found in config file");
}
if (!isset($data[$profile][self::INI_MODE])) {
return self::reject("Required defaults mode config values
not present in INI profile '{$profile}' ({$filename})");
}
return Promise\Create::promiseFor(
new Configuration(
$data[$profile][self::INI_MODE]
)
);
};
}
/**
* Unwraps a configuration object in whatever valid form it is in,
* always returning a ConfigurationInterface object.
*
* @param mixed $config
* @return ConfigurationInterface
* @throws \InvalidArgumentException
*/
public static function unwrap($config)
{
if (is_callable($config)) {
$config = $config();
}
if ($config instanceof PromiseInterface) {
$config = $config->wait();
}
if ($config instanceof ConfigurationInterface) {
return $config;
}
if (is_string($config)) {
return new Configuration($config);
}
throw new \InvalidArgumentException('Not a valid defaults mode configuration'
. ' argument.');
}
}

View file

@ -0,0 +1,14 @@
<?php
namespace Aws\DefaultsMode\Exception;
use Aws\HasMonitoringEventsTrait;
use Aws\MonitoringEventsInterface;
/**
* Represents an error interacting with configuration mode
*/
class ConfigurationException extends \RuntimeException implements
MonitoringEventsInterface
{
use HasMonitoringEventsTrait;
}

View file

@ -27,6 +27,9 @@ class SetValue implements \JsonSerializable, \Countable, \IteratorAggregate
return $this->values;
}
/**
* @return int
*/
#[\ReturnTypeWillChange]
public function count()
{

View file

@ -680,6 +680,8 @@ use Aws\PresignUrlMiddleware;
* @method \GuzzleHttp\Promise\Promise describeElasticGpusAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result describeExportImageTasks(array $args = []) (supported in versions 2016-11-15)
* @method \GuzzleHttp\Promise\Promise describeExportImageTasksAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result describeFastLaunchImages(array $args = []) (supported in versions 2016-11-15)
* @method \GuzzleHttp\Promise\Promise describeFastLaunchImagesAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result describeFastSnapshotRestores(array $args = []) (supported in versions 2016-11-15)
* @method \GuzzleHttp\Promise\Promise describeFastSnapshotRestoresAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result describeFleetHistory(array $args = []) (supported in versions 2016-11-15)
@ -788,6 +790,8 @@ use Aws\PresignUrlMiddleware;
* @method \GuzzleHttp\Promise\Promise describeVpcEndpointServicePermissionsAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result disableEbsEncryptionByDefault(array $args = []) (supported in versions 2016-11-15)
* @method \GuzzleHttp\Promise\Promise disableEbsEncryptionByDefaultAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result disableFastLaunch(array $args = []) (supported in versions 2016-11-15)
* @method \GuzzleHttp\Promise\Promise disableFastLaunchAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result disableFastSnapshotRestores(array $args = []) (supported in versions 2016-11-15)
* @method \GuzzleHttp\Promise\Promise disableFastSnapshotRestoresAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result disableImageDeprecation(array $args = []) (supported in versions 2016-11-15)
@ -818,6 +822,8 @@ use Aws\PresignUrlMiddleware;
* @method \GuzzleHttp\Promise\Promise disassociateVpcCidrBlockAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result enableEbsEncryptionByDefault(array $args = []) (supported in versions 2016-11-15)
* @method \GuzzleHttp\Promise\Promise enableEbsEncryptionByDefaultAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result enableFastLaunch(array $args = []) (supported in versions 2016-11-15)
* @method \GuzzleHttp\Promise\Promise enableFastLaunchAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result enableFastSnapshotRestores(array $args = []) (supported in versions 2016-11-15)
* @method \GuzzleHttp\Promise\Promise enableFastSnapshotRestoresAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result enableImageDeprecation(array $args = []) (supported in versions 2016-11-15)
@ -896,6 +902,8 @@ use Aws\PresignUrlMiddleware;
* @method \GuzzleHttp\Promise\Promise getVpnConnectionDeviceTypesAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result importClientVpnClientCertificateRevocationList(array $args = []) (supported in versions 2016-11-15)
* @method \GuzzleHttp\Promise\Promise importClientVpnClientCertificateRevocationListAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result listImagesInRecycleBin(array $args = []) (supported in versions 2016-11-15)
* @method \GuzzleHttp\Promise\Promise listImagesInRecycleBinAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result listSnapshotsInRecycleBin(array $args = []) (supported in versions 2016-11-15)
* @method \GuzzleHttp\Promise\Promise listSnapshotsInRecycleBinAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result modifyAddressAttribute(array $args = []) (supported in versions 2016-11-15)
@ -1010,6 +1018,8 @@ use Aws\PresignUrlMiddleware;
* @method \GuzzleHttp\Promise\Promise resetEbsDefaultKmsKeyIdAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result resetFpgaImageAttribute(array $args = []) (supported in versions 2016-11-15)
* @method \GuzzleHttp\Promise\Promise resetFpgaImageAttributeAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result restoreImageFromRecycleBin(array $args = []) (supported in versions 2016-11-15)
* @method \GuzzleHttp\Promise\Promise restoreImageFromRecycleBinAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result restoreManagedPrefixListVersion(array $args = []) (supported in versions 2016-11-15)
* @method \GuzzleHttp\Promise\Promise restoreManagedPrefixListVersionAsync(array $args = []) (supported in versions 2016-11-15)
* @method \Aws\Result restoreSnapshotFromRecycleBin(array $args = []) (supported in versions 2016-11-15)

View file

@ -12,6 +12,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise createFileSystemAsync(array $args = [])
* @method \Aws\Result createMountTarget(array $args = [])
* @method \GuzzleHttp\Promise\Promise createMountTargetAsync(array $args = [])
* @method \Aws\Result createReplicationConfiguration(array $args = [])
* @method \GuzzleHttp\Promise\Promise createReplicationConfigurationAsync(array $args = [])
* @method \Aws\Result createTags(array $args = [])
* @method \GuzzleHttp\Promise\Promise createTagsAsync(array $args = [])
* @method \Aws\Result deleteAccessPoint(array $args = [])
@ -22,6 +24,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise deleteFileSystemPolicyAsync(array $args = [])
* @method \Aws\Result deleteMountTarget(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteMountTargetAsync(array $args = [])
* @method \Aws\Result deleteReplicationConfiguration(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteReplicationConfigurationAsync(array $args = [])
* @method \Aws\Result deleteTags(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteTagsAsync(array $args = [])
* @method \Aws\Result describeAccessPoints(array $args = [])
@ -40,6 +44,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise describeMountTargetSecurityGroupsAsync(array $args = [])
* @method \Aws\Result describeMountTargets(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeMountTargetsAsync(array $args = [])
* @method \Aws\Result describeReplicationConfigurations(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeReplicationConfigurationsAsync(array $args = [])
* @method \Aws\Result describeTags(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeTagsAsync(array $args = [])
* @method \Aws\Result listTagsForResource(array $args = [])

View file

@ -32,6 +32,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise deletePackageAsync(array $args = [])
* @method \Aws\Result describeDomainAutoTunes(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeDomainAutoTunesAsync(array $args = [])
* @method \Aws\Result describeDomainChangeProgress(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeDomainChangeProgressAsync(array $args = [])
* @method \Aws\Result describeElasticsearchDomain(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeElasticsearchDomainAsync(array $args = [])
* @method \Aws\Result describeElasticsearchDomainConfig(array $args = [])

View file

@ -131,7 +131,7 @@ class ConfigurationProvider extends AbstractConfigurationProvider
$profile = $profile ?: (getenv(self::ENV_PROFILE) ?: 'default');
return function () use ($region, $profile, $filename) {
if (!is_readable($filename)) {
if (!@is_readable($filename)) {
return self::reject("Cannot read configuration from $filename");
}

View file

@ -130,7 +130,7 @@ class ConfigurationProvider extends AbstractConfigurationProvider
$profile = $profile ?: (getenv(self::ENV_PROFILE) ?: 'default');
return function () use ($profile, $filename) {
if (!is_readable($filename)) {
if (!@is_readable($filename)) {
return self::reject("Cannot read configuration from $filename");
}

View file

@ -179,7 +179,7 @@ class ConfigurationProvider extends AbstractConfigurationProvider
$profile = $profile ?: (getenv(self::ENV_PROFILE) ?: 'default');
return function () use ($profile, $filename, $cacheLimit) {
if (!is_readable($filename)) {
if (!@is_readable($filename)) {
return self::reject("Cannot read configuration from $filename");
}
$data = \Aws\parse_ini_file($filename, true);

View file

@ -15,6 +15,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise getExperimentAsync(array $args = [])
* @method \Aws\Result getExperimentTemplate(array $args = [])
* @method \GuzzleHttp\Promise\Promise getExperimentTemplateAsync(array $args = [])
* @method \Aws\Result getTargetResourceType(array $args = [])
* @method \GuzzleHttp\Promise\Promise getTargetResourceTypeAsync(array $args = [])
* @method \Aws\Result listActions(array $args = [])
* @method \GuzzleHttp\Promise\Promise listActionsAsync(array $args = [])
* @method \Aws\Result listExperimentTemplates(array $args = [])
@ -23,6 +25,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise listExperimentsAsync(array $args = [])
* @method \Aws\Result listTagsForResource(array $args = [])
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
* @method \Aws\Result listTargetResourceTypes(array $args = [])
* @method \GuzzleHttp\Promise\Promise listTargetResourceTypesAsync(array $args = [])
* @method \Aws\Result startExperiment(array $args = [])
* @method \GuzzleHttp\Promise\Promise startExperimentAsync(array $args = [])
* @method \Aws\Result stopExperiment(array $args = [])

View file

@ -77,6 +77,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise getEventAsync(array $args = [])
* @method \Aws\Result getEventPrediction(array $args = [])
* @method \GuzzleHttp\Promise\Promise getEventPredictionAsync(array $args = [])
* @method \Aws\Result getEventPredictionMetadata(array $args = [])
* @method \GuzzleHttp\Promise\Promise getEventPredictionMetadataAsync(array $args = [])
* @method \Aws\Result getEventTypes(array $args = [])
* @method \GuzzleHttp\Promise\Promise getEventTypesAsync(array $args = [])
* @method \Aws\Result getExternalModels(array $args = [])
@ -95,6 +97,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise getRulesAsync(array $args = [])
* @method \Aws\Result getVariables(array $args = [])
* @method \GuzzleHttp\Promise\Promise getVariablesAsync(array $args = [])
* @method \Aws\Result listEventPredictions(array $args = [])
* @method \GuzzleHttp\Promise\Promise listEventPredictionsAsync(array $args = [])
* @method \Aws\Result listTagsForResource(array $args = [])
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
* @method \Aws\Result putDetector(array $args = [])

View file

@ -54,12 +54,6 @@ class GuzzleHandler
&& $e->getResponse()
) {
$error['response'] = $e->getResponse();
} else if (
class_exists('Error')
&& $e instanceof \Error
&& $e ->getResponse()
) {
$error['response'] = $e->getResponse();
}
return new Promise\RejectedPromise($error);

View file

@ -305,6 +305,9 @@ class HandlerList implements \Countable
return $prev;
}
/**
* @return int
*/
#[\ReturnTypeWillChange]
public function count()
{

View file

@ -10,6 +10,9 @@ trait HasDataTrait
/** @var array */
private $data = [];
/**
* @return \Traversable
*/
#[\ReturnTypeWillChange]
public function getIterator()
{
@ -35,18 +38,27 @@ trait HasDataTrait
return $value;
}
/**
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
$this->data[$offset] = $value;
}
/**
* @return bool
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return isset($this->data[$offset]);
}
/**
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
@ -58,6 +70,9 @@ trait HasDataTrait
return $this->data;
}
/**
* @return int
*/
#[\ReturnTypeWillChange]
public function count()
{

View file

@ -21,6 +21,9 @@ class History implements \Countable, \IteratorAggregate
$this->maxEntries = $maxEntries;
}
/**
* @return int
*/
#[\ReturnTypeWillChange]
public function count()
{

View file

@ -25,9 +25,15 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise listTableRowsAsync(array $args = [])
* @method \Aws\Result listTables(array $args = [])
* @method \GuzzleHttp\Promise\Promise listTablesAsync(array $args = [])
* @method \Aws\Result listTagsForResource(array $args = [])
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
* @method \Aws\Result queryTableRows(array $args = [])
* @method \GuzzleHttp\Promise\Promise queryTableRowsAsync(array $args = [])
* @method \Aws\Result startTableDataImportJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise startTableDataImportJobAsync(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 = [])
*/
class HoneycodeClient extends AwsClient {}

View file

@ -47,6 +47,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise deleteFuotaTaskAsync(array $args = [])
* @method \Aws\Result deleteMulticastGroup(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteMulticastGroupAsync(array $args = [])
* @method \Aws\Result deleteQueuedMessages(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteQueuedMessagesAsync(array $args = [])
* @method \Aws\Result deleteServiceProfile(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteServiceProfileAsync(array $args = [])
* @method \Aws\Result deleteWirelessDevice(array $args = [])
@ -123,6 +125,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise listMulticastGroupsByFuotaTaskAsync(array $args = [])
* @method \Aws\Result listPartnerAccounts(array $args = [])
* @method \GuzzleHttp\Promise\Promise listPartnerAccountsAsync(array $args = [])
* @method \Aws\Result listQueuedMessages(array $args = [])
* @method \GuzzleHttp\Promise\Promise listQueuedMessagesAsync(array $args = [])
* @method \Aws\Result listServiceProfiles(array $args = [])
* @method \GuzzleHttp\Promise\Promise listServiceProfilesAsync(array $args = [])
* @method \Aws\Result listTagsForResource(array $args = [])

View file

@ -39,6 +39,8 @@ use Psr\Http\Message\RequestInterface;
* @method \GuzzleHttp\Promise\Promise deleteBotLocaleAsync(array $args = [])
* @method \Aws\Result deleteBotVersion(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteBotVersionAsync(array $args = [])
* @method \Aws\Result deleteCustomVocabulary(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteCustomVocabularyAsync(array $args = [])
* @method \Aws\Result deleteExport(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteExportAsync(array $args = [])
* @method \Aws\Result deleteImport(array $args = [])
@ -65,6 +67,8 @@ use Psr\Http\Message\RequestInterface;
* @method \GuzzleHttp\Promise\Promise describeBotRecommendationAsync(array $args = [])
* @method \Aws\Result describeBotVersion(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeBotVersionAsync(array $args = [])
* @method \Aws\Result describeCustomVocabularyMetadata(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeCustomVocabularyMetadataAsync(array $args = [])
* @method \Aws\Result describeExport(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeExportAsync(array $args = [])
* @method \Aws\Result describeImport(array $args = [])

View file

@ -21,6 +21,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise batchUpdateDevicePositionAsync(array $args = [])
* @method \Aws\Result calculateRoute(array $args = [])
* @method \GuzzleHttp\Promise\Promise calculateRouteAsync(array $args = [])
* @method \Aws\Result calculateRouteMatrix(array $args = [])
* @method \GuzzleHttp\Promise\Promise calculateRouteMatrixAsync(array $args = [])
* @method \Aws\Result createGeofenceCollection(array $args = [])
* @method \GuzzleHttp\Promise\Promise createGeofenceCollectionAsync(array $args = [])
* @method \Aws\Result createMap(array $args = [])

View file

@ -17,6 +17,8 @@ use Psr\Http\Message\RequestInterface;
* @method \GuzzleHttp\Promise\Promise createAnomalyDetectorAsync(array $args = [])
* @method \Aws\Result createMetricSet(array $args = [])
* @method \GuzzleHttp\Promise\Promise createMetricSetAsync(array $args = [])
* @method \Aws\Result deactivateAnomalyDetector(array $args = [])
* @method \GuzzleHttp\Promise\Promise deactivateAnomalyDetectorAsync(array $args = [])
* @method \Aws\Result deleteAlert(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteAlertAsync(array $args = [])
* @method \Aws\Result deleteAnomalyDetector(array $args = [])

View file

@ -72,6 +72,9 @@ class LruArrayCache implements CacheInterface, \Countable
unset($this->items[$key]);
}
/**
* @return int
*/
#[\ReturnTypeWillChange]
public function count()
{

View file

@ -31,6 +31,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise describeDomainAsync(array $args = [])
* @method \Aws\Result describeDomainAutoTunes(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeDomainAutoTunesAsync(array $args = [])
* @method \Aws\Result describeDomainChangeProgress(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeDomainChangeProgressAsync(array $args = [])
* @method \Aws\Result describeDomainConfig(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeDomainConfigAsync(array $args = [])
* @method \Aws\Result describeDomains(array $args = [])

View file

@ -9,7 +9,13 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise describeDimensionKeysAsync(array $args = [])
* @method \Aws\Result getDimensionKeyDetails(array $args = [])
* @method \GuzzleHttp\Promise\Promise getDimensionKeyDetailsAsync(array $args = [])
* @method \Aws\Result getResourceMetadata(array $args = [])
* @method \GuzzleHttp\Promise\Promise getResourceMetadataAsync(array $args = [])
* @method \Aws\Result getResourceMetrics(array $args = [])
* @method \GuzzleHttp\Promise\Promise getResourceMetricsAsync(array $args = [])
* @method \Aws\Result listAvailableResourceDimensions(array $args = [])
* @method \GuzzleHttp\Promise\Promise listAvailableResourceDimensionsAsync(array $args = [])
* @method \Aws\Result listAvailableResourceMetrics(array $args = [])
* @method \GuzzleHttp\Promise\Promise listAvailableResourceMetricsAsync(array $args = [])
*/
class PIClient extends AwsClient {}

View file

@ -244,5 +244,7 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise updateVoiceChannelAsync(array $args = [])
* @method \Aws\Result updateVoiceTemplate(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateVoiceTemplateAsync(array $args = [])
* @method \Aws\Result verifyOTPMessage(array $args = [])
* @method \GuzzleHttp\Promise\Promise verifyOTPMessageAsync(array $args = [])
*/
class PinpointClient extends AwsClient {}

View file

@ -33,6 +33,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise getResourceSharesAsync(array $args = [])
* @method \Aws\Result listPendingInvitationResources(array $args = [])
* @method \GuzzleHttp\Promise\Promise listPendingInvitationResourcesAsync(array $args = [])
* @method \Aws\Result listPermissionVersions(array $args = [])
* @method \GuzzleHttp\Promise\Promise listPermissionVersionsAsync(array $args = [])
* @method \Aws\Result listPermissions(array $args = [])
* @method \GuzzleHttp\Promise\Promise listPermissionsAsync(array $args = [])
* @method \Aws\Result listPrincipals(array $args = [])

View file

@ -155,7 +155,7 @@ class ConfigurationProvider extends AbstractConfigurationProvider
$profile = $profile ?: (getenv(self::ENV_PROFILE) ?: 'default');
return function () use ($profile, $filename) {
if (!is_readable($filename)) {
if (!@is_readable($filename)) {
return self::reject("Cannot read configuration from $filename");
}
$data = \Aws\parse_ini_file($filename, true);

View file

@ -128,7 +128,7 @@ class ConfigurationProvider extends AbstractConfigurationProvider
$profile = $profile ?: (getenv(self::ENV_PROFILE) ?: 'default');
return function () use ($profile, $filename) {
if (!is_readable($filename)) {
if (!@is_readable($filename)) {
return self::reject("Cannot read configuration from $filename");
}
$data = \Aws\parse_ini_file($filename, true);

View file

@ -130,7 +130,10 @@ class StreamWrapper
public function stream_close()
{
if ($this->body->getSize() === 0 && !($this->isFlushed)) {
if (!$this->isFlushed
&& empty($this->body->getSize())
&& $this->mode !== 'r'
) {
$this->stream_flush();
}
$this->body = $this->cache = null;
@ -163,6 +166,14 @@ class StreamWrapper
public function stream_flush()
{
// Check if stream body size has been
// calculated via a flush or close
if($this->body->getSize() === null && $this->mode !== 'r') {
return $this->triggerError(
"Unable to determine stream size. Did you forget to close or flush the stream?"
);
}
$this->isFlushed = true;
if ($this->mode == 'r') {
return false;

View file

@ -131,7 +131,7 @@ class ConfigurationProvider extends AbstractConfigurationProvider
$profile = $profile ?: (getenv(self::ENV_PROFILE) ?: 'default');
return function () use ($profile, $filename) {
if (!is_readable($filename)) {
if (!@is_readable($filename)) {
return self::reject("Cannot read configuration from $filename");
}

View file

@ -603,7 +603,7 @@ namespace Aws;
*/
class Sdk
{
const VERSION = '3.208.10';
const VERSION = '3.209.28';
/** @var array Arguments for creating clients */
private $args;

View file

@ -149,7 +149,7 @@ class ConfigurationProvider extends AbstractConfigurationProvider
$profile = $profile ?: (getenv(self::ENV_PROFILE) ?: 'default');
return function () use ($profile, $filename) {
if (!is_readable($filename)) {
if (!@is_readable($filename)) {
return self::reject("Cannot read configuration from $filename");
}
$data = \Aws\parse_ini_file($filename, true);

View file

@ -35,12 +35,16 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise describeManagedRuleGroupAsync(array $args = [])
* @method \Aws\Result disassociateWebACL(array $args = [])
* @method \GuzzleHttp\Promise\Promise disassociateWebACLAsync(array $args = [])
* @method \Aws\Result generateMobileSdkReleaseUrl(array $args = [])
* @method \GuzzleHttp\Promise\Promise generateMobileSdkReleaseUrlAsync(array $args = [])
* @method \Aws\Result getIPSet(array $args = [])
* @method \GuzzleHttp\Promise\Promise getIPSetAsync(array $args = [])
* @method \Aws\Result getLoggingConfiguration(array $args = [])
* @method \GuzzleHttp\Promise\Promise getLoggingConfigurationAsync(array $args = [])
* @method \Aws\Result getManagedRuleSet(array $args = [])
* @method \GuzzleHttp\Promise\Promise getManagedRuleSetAsync(array $args = [])
* @method \Aws\Result getMobileSdkRelease(array $args = [])
* @method \GuzzleHttp\Promise\Promise getMobileSdkReleaseAsync(array $args = [])
* @method \Aws\Result getPermissionPolicy(array $args = [])
* @method \GuzzleHttp\Promise\Promise getPermissionPolicyAsync(array $args = [])
* @method \Aws\Result getRateBasedStatementManagedKeys(array $args = [])
@ -65,6 +69,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise listLoggingConfigurationsAsync(array $args = [])
* @method \Aws\Result listManagedRuleSets(array $args = [])
* @method \GuzzleHttp\Promise\Promise listManagedRuleSetsAsync(array $args = [])
* @method \Aws\Result listMobileSdkReleases(array $args = [])
* @method \GuzzleHttp\Promise\Promise listMobileSdkReleasesAsync(array $args = [])
* @method \Aws\Result listRegexPatternSets(array $args = [])
* @method \GuzzleHttp\Promise\Promise listRegexPatternSetsAsync(array $args = [])
* @method \Aws\Result listResourcesForWebACL(array $args = [])

View file

@ -14,6 +14,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise authorizeIpRulesAsync(array $args = [])
* @method \Aws\Result copyWorkspaceImage(array $args = [])
* @method \GuzzleHttp\Promise\Promise copyWorkspaceImageAsync(array $args = [])
* @method \Aws\Result createConnectClientAddIn(array $args = [])
* @method \GuzzleHttp\Promise\Promise createConnectClientAddInAsync(array $args = [])
* @method \Aws\Result createConnectionAlias(array $args = [])
* @method \GuzzleHttp\Promise\Promise createConnectionAliasAsync(array $args = [])
* @method \Aws\Result createIpGroup(array $args = [])
@ -26,6 +28,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise createWorkspaceBundleAsync(array $args = [])
* @method \Aws\Result createWorkspaces(array $args = [])
* @method \GuzzleHttp\Promise\Promise createWorkspacesAsync(array $args = [])
* @method \Aws\Result deleteConnectClientAddIn(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteConnectClientAddInAsync(array $args = [])
* @method \Aws\Result deleteConnectionAlias(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteConnectionAliasAsync(array $args = [])
* @method \Aws\Result deleteIpGroup(array $args = [])
@ -44,6 +48,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise describeAccountModificationsAsync(array $args = [])
* @method \Aws\Result describeClientProperties(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeClientPropertiesAsync(array $args = [])
* @method \Aws\Result describeConnectClientAddIns(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeConnectClientAddInsAsync(array $args = [])
* @method \Aws\Result describeConnectionAliasPermissions(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeConnectionAliasPermissionsAsync(array $args = [])
* @method \Aws\Result describeConnectionAliases(array $args = [])
@ -106,6 +112,8 @@ use Aws\AwsClient;
* @method \GuzzleHttp\Promise\Promise stopWorkspacesAsync(array $args = [])
* @method \Aws\Result terminateWorkspaces(array $args = [])
* @method \GuzzleHttp\Promise\Promise terminateWorkspacesAsync(array $args = [])
* @method \Aws\Result updateConnectClientAddIn(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateConnectClientAddInAsync(array $args = [])
* @method \Aws\Result updateConnectionAliasPermission(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateConnectionAliasPermissionAsync(array $args = [])
* @method \Aws\Result updateRulesOfIpGroup(array $args = [])

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/appconfigdata/2021-11-11/api-2.json
return [ 'version' => '2.0', 'metadata' => [ 'apiVersion' => '2021-11-11', 'endpointPrefix' => 'appconfigdata', 'jsonVersion' => '1.0', 'protocol' => 'rest-json', 'serviceFullName' => 'AWS AppConfig Data', 'serviceId' => 'AppConfigData', 'signatureVersion' => 'v4', 'signingName' => 'appconfig', 'uid' => 'appconfigdata-2021-11-11', ], 'operations' => [ 'GetLatestConfiguration' => [ 'name' => 'GetLatestConfiguration', 'http' => [ 'method' => 'GET', 'requestUri' => '/configuration', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetLatestConfigurationRequest', ], 'output' => [ 'shape' => 'GetLatestConfigurationResponse', ], 'errors' => [ [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'BadRequestException', ], [ 'shape' => 'InternalServerException', ], ], ], 'StartConfigurationSession' => [ 'name' => 'StartConfigurationSession', 'http' => [ 'method' => 'POST', 'requestUri' => '/configurationsessions', 'responseCode' => 201, ], 'input' => [ 'shape' => 'StartConfigurationSessionRequest', ], 'output' => [ 'shape' => 'StartConfigurationSessionResponse', ], 'errors' => [ [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'BadRequestException', ], [ 'shape' => 'InternalServerException', ], ], ], ], 'shapes' => [ 'BadRequestDetails' => [ 'type' => 'structure', 'members' => [ 'InvalidParameters' => [ 'shape' => 'InvalidParameterMap', ], ], 'union' => true, ], 'BadRequestException' => [ 'type' => 'structure', 'members' => [ 'Details' => [ 'shape' => 'BadRequestDetails', ], 'Message' => [ 'shape' => 'String', ], 'Reason' => [ 'shape' => 'BadRequestReason', ], ], 'error' => [ 'httpStatusCode' => 400, 'senderFault' => true, ], 'exception' => true, ], 'BadRequestReason' => [ 'type' => 'string', 'enum' => [ 'InvalidParameters', ], ], 'GetLatestConfigurationRequest' => [ 'type' => 'structure', 'required' => [ 'ConfigurationToken', ], 'members' => [ 'ConfigurationToken' => [ 'shape' => 'Token', 'location' => 'querystring', 'locationName' => 'configuration_token', ], ], ], 'GetLatestConfigurationResponse' => [ 'type' => 'structure', 'members' => [ 'Configuration' => [ 'shape' => 'SyntheticGetLatestConfigurationResponseBlob', ], 'ContentType' => [ 'shape' => 'String', 'location' => 'header', 'locationName' => 'Content-Type', ], 'NextPollConfigurationToken' => [ 'shape' => 'Token', 'location' => 'header', 'locationName' => 'Next-Poll-Configuration-Token', ], 'NextPollIntervalInSeconds' => [ 'shape' => 'Integer', 'location' => 'header', 'locationName' => 'Next-Poll-Interval-In-Seconds', ], ], 'payload' => 'Configuration', ], 'Identifier' => [ 'type' => 'string', 'max' => 64, 'min' => 1, ], 'Integer' => [ 'type' => 'integer', ], 'InternalServerException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 500, ], 'exception' => true, 'fault' => true, ], 'InvalidParameterDetail' => [ 'type' => 'structure', 'members' => [ 'Problem' => [ 'shape' => 'InvalidParameterProblem', ], ], ], 'InvalidParameterMap' => [ 'type' => 'map', 'key' => [ 'shape' => 'String', ], 'value' => [ 'shape' => 'InvalidParameterDetail', ], ], 'InvalidParameterProblem' => [ 'type' => 'string', 'enum' => [ 'Corrupted', 'Expired', 'PollIntervalNotSatisfied', ], ], 'OptionalPollSeconds' => [ 'type' => 'integer', 'box' => true, 'max' => 86400, 'min' => 15, ], 'ResourceNotFoundException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], 'ReferencedBy' => [ 'shape' => 'StringMap', ], 'ResourceType' => [ 'shape' => 'ResourceType', ], ], 'error' => [ 'httpStatusCode' => 404, 'senderFault' => true, ], 'exception' => true, ], 'ResourceType' => [ 'type' => 'string', 'enum' => [ 'Application', 'ConfigurationProfile', 'Deployment', 'Environment', 'Configuration', ], ], 'StartConfigurationSessionRequest' => [ 'type' => 'structure', 'required' => [ 'ApplicationIdentifier', 'ConfigurationProfileIdentifier', 'EnvironmentIdentifier', ], 'members' => [ 'ApplicationIdentifier' => [ 'shape' => 'Identifier', ], 'ConfigurationProfileIdentifier' => [ 'shape' => 'Identifier', ], 'EnvironmentIdentifier' => [ 'shape' => 'Identifier', ], 'RequiredMinimumPollIntervalInSeconds' => [ 'shape' => 'OptionalPollSeconds', ], ], ], 'StartConfigurationSessionResponse' => [ 'type' => 'structure', 'members' => [ 'InitialConfigurationToken' => [ 'shape' => 'Token', ], ], ], 'String' => [ 'type' => 'string', ], 'StringMap' => [ 'type' => 'map', 'key' => [ 'shape' => 'String', ], 'value' => [ 'shape' => 'String', ], ], 'SyntheticGetLatestConfigurationResponseBlob' => [ 'type' => 'blob', 'sensitive' => true, ], 'ThrottlingException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 429, 'senderFault' => true, ], 'exception' => true, ], 'Token' => [ 'type' => 'string', 'pattern' => '\\S{1,8192}', ], ],];
return [ 'version' => '2.0', 'metadata' => [ 'apiVersion' => '2021-11-11', 'endpointPrefix' => 'appconfigdata', 'jsonVersion' => '1.0', 'protocol' => 'rest-json', 'serviceFullName' => 'AWS AppConfig Data', 'serviceId' => 'AppConfigData', 'signatureVersion' => 'v4', 'signingName' => 'appconfig', 'uid' => 'appconfigdata-2021-11-11', ], 'operations' => [ 'GetLatestConfiguration' => [ 'name' => 'GetLatestConfiguration', 'http' => [ 'method' => 'GET', 'requestUri' => '/configuration', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetLatestConfigurationRequest', ], 'output' => [ 'shape' => 'GetLatestConfigurationResponse', ], 'errors' => [ [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'BadRequestException', ], [ 'shape' => 'InternalServerException', ], ], ], 'StartConfigurationSession' => [ 'name' => 'StartConfigurationSession', 'http' => [ 'method' => 'POST', 'requestUri' => '/configurationsessions', 'responseCode' => 201, ], 'input' => [ 'shape' => 'StartConfigurationSessionRequest', ], 'output' => [ 'shape' => 'StartConfigurationSessionResponse', ], 'errors' => [ [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'BadRequestException', ], [ 'shape' => 'InternalServerException', ], ], ], ], 'shapes' => [ 'BadRequestDetails' => [ 'type' => 'structure', 'members' => [ 'InvalidParameters' => [ 'shape' => 'InvalidParameterMap', ], ], 'union' => true, ], 'BadRequestException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], 'Reason' => [ 'shape' => 'BadRequestReason', ], 'Details' => [ 'shape' => 'BadRequestDetails', ], ], 'error' => [ 'httpStatusCode' => 400, 'senderFault' => true, ], 'exception' => true, ], 'BadRequestReason' => [ 'type' => 'string', 'enum' => [ 'InvalidParameters', ], ], 'GetLatestConfigurationRequest' => [ 'type' => 'structure', 'required' => [ 'ConfigurationToken', ], 'members' => [ 'ConfigurationToken' => [ 'shape' => 'Token', 'location' => 'querystring', 'locationName' => 'configuration_token', ], ], ], 'GetLatestConfigurationResponse' => [ 'type' => 'structure', 'members' => [ 'NextPollConfigurationToken' => [ 'shape' => 'Token', 'location' => 'header', 'locationName' => 'Next-Poll-Configuration-Token', ], 'NextPollIntervalInSeconds' => [ 'shape' => 'Integer', 'location' => 'header', 'locationName' => 'Next-Poll-Interval-In-Seconds', ], 'ContentType' => [ 'shape' => 'String', 'location' => 'header', 'locationName' => 'Content-Type', ], 'Configuration' => [ 'shape' => 'SyntheticGetLatestConfigurationResponseBlob', ], ], 'payload' => 'Configuration', ], 'Identifier' => [ 'type' => 'string', 'max' => 64, 'min' => 1, ], 'Integer' => [ 'type' => 'integer', ], 'InternalServerException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 500, ], 'exception' => true, 'fault' => true, ], 'InvalidParameterDetail' => [ 'type' => 'structure', 'members' => [ 'Problem' => [ 'shape' => 'InvalidParameterProblem', ], ], ], 'InvalidParameterMap' => [ 'type' => 'map', 'key' => [ 'shape' => 'String', ], 'value' => [ 'shape' => 'InvalidParameterDetail', ], ], 'InvalidParameterProblem' => [ 'type' => 'string', 'enum' => [ 'Corrupted', 'Expired', 'PollIntervalNotSatisfied', ], ], 'OptionalPollSeconds' => [ 'type' => 'integer', 'box' => true, 'max' => 86400, 'min' => 15, ], 'ResourceNotFoundException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], 'ResourceType' => [ 'shape' => 'ResourceType', ], 'ReferencedBy' => [ 'shape' => 'StringMap', ], ], 'error' => [ 'httpStatusCode' => 404, 'senderFault' => true, ], 'exception' => true, ], 'ResourceType' => [ 'type' => 'string', 'enum' => [ 'Application', 'ConfigurationProfile', 'Deployment', 'Environment', 'Configuration', ], ], 'StartConfigurationSessionRequest' => [ 'type' => 'structure', 'required' => [ 'ApplicationIdentifier', 'EnvironmentIdentifier', 'ConfigurationProfileIdentifier', ], 'members' => [ 'ApplicationIdentifier' => [ 'shape' => 'Identifier', ], 'EnvironmentIdentifier' => [ 'shape' => 'Identifier', ], 'ConfigurationProfileIdentifier' => [ 'shape' => 'Identifier', ], 'RequiredMinimumPollIntervalInSeconds' => [ 'shape' => 'OptionalPollSeconds', ], ], ], 'StartConfigurationSessionResponse' => [ 'type' => 'structure', 'members' => [ 'InitialConfigurationToken' => [ 'shape' => 'Token', ], ], ], 'String' => [ 'type' => 'string', ], 'StringMap' => [ 'type' => 'map', 'key' => [ 'shape' => 'String', ], 'value' => [ 'shape' => 'String', ], ], 'SyntheticGetLatestConfigurationResponseBlob' => [ 'type' => 'blob', 'sensitive' => true, ], 'ThrottlingException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 429, 'senderFault' => true, ], 'exception' => true, ], 'Token' => [ 'type' => 'string', 'pattern' => '\\S{1,8192}', ], ],];

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/appflow/2020-08-23/paginators-1.json
return [ 'pagination' => [ 'DescribeConnectorProfiles' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'DescribeConnectors' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', ], 'DescribeFlowExecutionRecords' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListFlows' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], ],];
return [ 'pagination' => [ 'DescribeConnectorProfiles' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'DescribeConnectors' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'DescribeFlowExecutionRecords' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListConnectors' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListFlows' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], ],];

File diff suppressed because one or more lines are too long

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/apprunner/2020-05-15/paginators-1.json
return [ 'pagination' => [ 'DescribeCustomDomains' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListAutoScalingConfigurations' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListConnections' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListOperations' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListServices' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], ],];
return [ 'pagination' => [ 'DescribeCustomDomains' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListAutoScalingConfigurations' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListConnections' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListOperations' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListServices' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListVpcConnectors' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], ],];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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/budgets/2016-10-20/paginators-1.json
return [ 'pagination' => [ 'DescribeBudgetActionHistories' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'ActionHistories', ], 'DescribeBudgetActionsForAccount' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Actions', ], 'DescribeBudgetActionsForBudget' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Actions', ], 'DescribeBudgetPerformanceHistory' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'BudgetPerformanceHistory', ], 'DescribeBudgets' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Budgets', ], 'DescribeNotificationsForBudget' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Notifications', ], 'DescribeSubscribersForNotification' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Subscribers', ], ],];
return [ 'pagination' => [ 'DescribeBudgetActionHistories' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'ActionHistories', ], 'DescribeBudgetActionsForAccount' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Actions', ], 'DescribeBudgetActionsForBudget' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Actions', ], 'DescribeBudgetNotificationsForAccount' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'BudgetNotificationsForAccount', ], 'DescribeBudgetPerformanceHistory' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'BudgetPerformanceHistory', ], 'DescribeBudgets' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Budgets', ], 'DescribeNotificationsForBudget' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Notifications', ], 'DescribeSubscribersForNotification' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Subscribers', ], ],];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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/codeguru-reviewer/2019-09-19/waiters-2.json
return [ 'version' => 2, 'waiters' => [ 'RepositoryAssociationSucceeded' => [ 'description' => 'Wait until a repository association is complete.', 'operation' => 'DescribeRepositoryAssociation', 'delay' => 10, 'maxAttempts' => 20, 'acceptors' => [ [ 'state' => 'success', 'matcher' => 'path', 'argument' => 'RepositoryAssociation.State', 'expected' => 'Associated', ], [ 'state' => 'retry', 'matcher' => 'path', 'argument' => 'RepositoryAssociation.State', 'expected' => 'Associating', ], ], ], 'CodeReviewCompleted' => [ 'description' => 'Wait until a code review is complete.', 'operation' => 'DescribeCodeReview', 'delay' => 10, 'maxAttempts' => 60, 'acceptors' => [ [ 'state' => 'success', 'matcher' => 'path', 'argument' => 'CodeReview.State', 'expected' => 'Completed', ], [ 'state' => 'retry', 'matcher' => 'path', 'argument' => 'CodeReview.State', 'expected' => 'Pending', ], ], ], ],];
return [ 'version' => 2, 'waiters' => [ 'RepositoryAssociationSucceeded' => [ 'description' => 'Wait until a repository association is complete.', 'operation' => 'DescribeRepositoryAssociation', 'delay' => 10, 'maxAttempts' => 30, 'acceptors' => [ [ 'state' => 'success', 'matcher' => 'path', 'argument' => 'RepositoryAssociation.State', 'expected' => 'Associated', ], [ 'state' => 'failure', 'matcher' => 'path', 'argument' => 'RepositoryAssociation.State', 'expected' => 'Failed', ], [ 'state' => 'retry', 'matcher' => 'path', 'argument' => 'RepositoryAssociation.State', 'expected' => 'Associating', ], ], ], 'CodeReviewCompleted' => [ 'description' => 'Wait until a code review is complete.', 'operation' => 'DescribeCodeReview', 'delay' => 10, 'maxAttempts' => 180, 'acceptors' => [ [ 'state' => 'success', 'matcher' => 'path', 'argument' => 'CodeReview.State', 'expected' => 'Completed', ], [ 'state' => 'failure', 'matcher' => 'path', 'argument' => 'CodeReview.State', 'expected' => 'Failed', ], [ 'state' => 'retry', 'matcher' => 'path', 'argument' => 'CodeReview.State', 'expected' => 'Pending', ], ], ], ],];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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/connect/2017-08-08/paginators-1.json
return [ 'pagination' => [ 'GetCurrentMetricData' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'GetMetricData' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'ListAgentStatuses' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'AgentStatusSummaryList', ], 'ListApprovedOrigins' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Origins', ], 'ListBots' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'LexBots', ], 'ListContactFlowModules' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'ContactFlowModulesSummaryList', ], 'ListContactFlows' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'ContactFlowSummaryList', ], 'ListContactReferences' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'ReferenceSummaryList', ], 'ListHoursOfOperations' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'HoursOfOperationSummaryList', ], 'ListInstanceAttributes' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Attributes', ], 'ListInstanceStorageConfigs' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'StorageConfigs', ], 'ListInstances' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'InstanceSummaryList', ], 'ListIntegrationAssociations' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'IntegrationAssociationSummaryList', ], 'ListLambdaFunctions' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'LambdaFunctions', ], 'ListLexBots' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'LexBots', ], 'ListPhoneNumbers' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'PhoneNumberSummaryList', ], 'ListPrompts' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'PromptSummaryList', ], 'ListQueueQuickConnects' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'QuickConnectSummaryList', ], 'ListQueues' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'QueueSummaryList', ], 'ListQuickConnects' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'QuickConnectSummaryList', ], 'ListRoutingProfileQueues' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'RoutingProfileQueueConfigSummaryList', ], 'ListRoutingProfiles' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'RoutingProfileSummaryList', ], 'ListSecurityKeys' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'SecurityKeys', ], 'ListSecurityProfilePermissions' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Permissions', ], 'ListSecurityProfiles' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'SecurityProfileSummaryList', ], 'ListUseCases' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'UseCaseSummaryList', ], 'ListUserHierarchyGroups' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'UserHierarchyGroupSummaryList', ], 'ListUsers' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'UserSummaryList', ], ],];
return [ 'pagination' => [ 'GetCurrentMetricData' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'GetMetricData' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'ListAgentStatuses' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'AgentStatusSummaryList', ], 'ListApprovedOrigins' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Origins', ], 'ListBots' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'LexBots', ], 'ListContactFlowModules' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'ContactFlowModulesSummaryList', ], 'ListContactFlows' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'ContactFlowSummaryList', ], 'ListContactReferences' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'ReferenceSummaryList', ], 'ListDefaultVocabularies' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'DefaultVocabularyList', ], 'ListHoursOfOperations' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'HoursOfOperationSummaryList', ], 'ListInstanceAttributes' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Attributes', ], 'ListInstanceStorageConfigs' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'StorageConfigs', ], 'ListInstances' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'InstanceSummaryList', ], 'ListIntegrationAssociations' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'IntegrationAssociationSummaryList', ], 'ListLambdaFunctions' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'LambdaFunctions', ], 'ListLexBots' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'LexBots', ], 'ListPhoneNumbers' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'PhoneNumberSummaryList', ], 'ListPrompts' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'PromptSummaryList', ], 'ListQueueQuickConnects' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'QuickConnectSummaryList', ], 'ListQueues' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'QueueSummaryList', ], 'ListQuickConnects' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'QuickConnectSummaryList', ], 'ListRoutingProfileQueues' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'RoutingProfileQueueConfigSummaryList', ], 'ListRoutingProfiles' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'RoutingProfileSummaryList', ], 'ListSecurityKeys' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'SecurityKeys', ], 'ListSecurityProfilePermissions' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Permissions', ], 'ListSecurityProfiles' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'SecurityProfileSummaryList', ], 'ListUseCases' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'UseCaseSummaryList', ], 'ListUserHierarchyGroups' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'UserHierarchyGroupSummaryList', ], 'ListUsers' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'UserSummaryList', ], 'SearchVocabularies' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'VocabularySummaryList', ], ],];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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/ec2-instance-connect/2018-04-02/api-2.json
return [ 'version' => '2.0', 'metadata' => [ 'apiVersion' => '2018-04-02', 'endpointPrefix' => 'ec2-instance-connect', 'jsonVersion' => '1.1', 'protocol' => 'json', 'serviceAbbreviation' => 'EC2 Instance Connect', 'serviceFullName' => 'AWS EC2 Instance Connect', 'serviceId' => 'EC2 Instance Connect', 'signatureVersion' => 'v4', 'targetPrefix' => 'AWSEC2InstanceConnectService', 'uid' => 'ec2-instance-connect-2018-04-02', ], 'operations' => [ 'SendSSHPublicKey' => [ 'name' => 'SendSSHPublicKey', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'SendSSHPublicKeyRequest', ], 'output' => [ 'shape' => 'SendSSHPublicKeyResponse', ], 'errors' => [ [ 'shape' => 'AuthException', ], [ 'shape' => 'InvalidArgsException', ], [ 'shape' => 'ServiceException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'EC2InstanceNotFoundException', ], ], ], 'SendSerialConsoleSSHPublicKey' => [ 'name' => 'SendSerialConsoleSSHPublicKey', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'SendSerialConsoleSSHPublicKeyRequest', ], 'output' => [ 'shape' => 'SendSerialConsoleSSHPublicKeyResponse', ], 'errors' => [ [ 'shape' => 'AuthException', ], [ 'shape' => 'SerialConsoleAccessDisabledException', ], [ 'shape' => 'InvalidArgsException', ], [ 'shape' => 'ServiceException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'EC2InstanceNotFoundException', ], [ 'shape' => 'EC2InstanceTypeInvalidException', ], [ 'shape' => 'SerialConsoleSessionLimitExceededException', ], [ 'shape' => 'SerialConsoleSessionUnavailableException', ], ], ], ], 'shapes' => [ 'AuthException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'AvailabilityZone' => [ 'type' => 'string', 'max' => 32, 'min' => 6, 'pattern' => '^(\\w+-){2,3}\\d+\\w+$', ], 'EC2InstanceNotFoundException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'EC2InstanceTypeInvalidException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'InstanceId' => [ 'type' => 'string', 'max' => 32, 'min' => 10, 'pattern' => '^i-[a-f0-9]+$', ], 'InstanceOSUser' => [ 'type' => 'string', 'max' => 32, 'min' => 1, 'pattern' => '^[A-Za-z_][A-Za-z0-9\\@\\._-]{0,30}[A-Za-z0-9\\$_-]?$', ], 'InvalidArgsException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'RequestId' => [ 'type' => 'string', ], 'SSHPublicKey' => [ 'type' => 'string', 'max' => 4096, 'min' => 256, ], 'SendSSHPublicKeyRequest' => [ 'type' => 'structure', 'required' => [ 'InstanceId', 'InstanceOSUser', 'SSHPublicKey', 'AvailabilityZone', ], 'members' => [ 'InstanceId' => [ 'shape' => 'InstanceId', ], 'InstanceOSUser' => [ 'shape' => 'InstanceOSUser', ], 'SSHPublicKey' => [ 'shape' => 'SSHPublicKey', ], 'AvailabilityZone' => [ 'shape' => 'AvailabilityZone', ], ], ], 'SendSSHPublicKeyResponse' => [ 'type' => 'structure', 'members' => [ 'RequestId' => [ 'shape' => 'RequestId', ], 'Success' => [ 'shape' => 'Success', ], ], ], 'SendSerialConsoleSSHPublicKeyRequest' => [ 'type' => 'structure', 'required' => [ 'InstanceId', 'SSHPublicKey', ], 'members' => [ 'InstanceId' => [ 'shape' => 'InstanceId', ], 'SerialPort' => [ 'shape' => 'SerialPort', ], 'SSHPublicKey' => [ 'shape' => 'SSHPublicKey', ], ], ], 'SendSerialConsoleSSHPublicKeyResponse' => [ 'type' => 'structure', 'members' => [ 'RequestId' => [ 'shape' => 'RequestId', ], 'Success' => [ 'shape' => 'Success', ], ], ], 'SerialConsoleAccessDisabledException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'SerialConsoleSessionLimitExceededException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'SerialConsoleSessionUnavailableException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, 'fault' => true, ], 'SerialPort' => [ 'type' => 'integer', 'max' => 0, 'min' => 0, ], 'ServiceException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, 'fault' => true, ], 'String' => [ 'type' => 'string', ], 'Success' => [ 'type' => 'boolean', ], 'ThrottlingException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], ],];
return [ 'version' => '2.0', 'metadata' => [ 'apiVersion' => '2018-04-02', 'endpointPrefix' => 'ec2-instance-connect', 'jsonVersion' => '1.1', 'protocol' => 'json', 'serviceAbbreviation' => 'EC2 Instance Connect', 'serviceFullName' => 'AWS EC2 Instance Connect', 'serviceId' => 'EC2 Instance Connect', 'signatureVersion' => 'v4', 'targetPrefix' => 'AWSEC2InstanceConnectService', 'uid' => 'ec2-instance-connect-2018-04-02', ], 'operations' => [ 'SendSSHPublicKey' => [ 'name' => 'SendSSHPublicKey', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'SendSSHPublicKeyRequest', ], 'output' => [ 'shape' => 'SendSSHPublicKeyResponse', ], 'errors' => [ [ 'shape' => 'AuthException', ], [ 'shape' => 'InvalidArgsException', ], [ 'shape' => 'ServiceException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'EC2InstanceNotFoundException', ], [ 'shape' => 'EC2InstanceStateInvalidException', ], ], ], 'SendSerialConsoleSSHPublicKey' => [ 'name' => 'SendSerialConsoleSSHPublicKey', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'SendSerialConsoleSSHPublicKeyRequest', ], 'output' => [ 'shape' => 'SendSerialConsoleSSHPublicKeyResponse', ], 'errors' => [ [ 'shape' => 'AuthException', ], [ 'shape' => 'SerialConsoleAccessDisabledException', ], [ 'shape' => 'InvalidArgsException', ], [ 'shape' => 'ServiceException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'EC2InstanceNotFoundException', ], [ 'shape' => 'EC2InstanceTypeInvalidException', ], [ 'shape' => 'SerialConsoleSessionLimitExceededException', ], [ 'shape' => 'SerialConsoleSessionUnavailableException', ], [ 'shape' => 'EC2InstanceStateInvalidException', ], ], ], ], 'shapes' => [ 'AuthException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'AvailabilityZone' => [ 'type' => 'string', 'max' => 32, 'min' => 6, 'pattern' => '^(\\w+-){2,3}\\d+\\w+$', ], 'EC2InstanceNotFoundException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'EC2InstanceStateInvalidException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'EC2InstanceTypeInvalidException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'InstanceId' => [ 'type' => 'string', 'max' => 32, 'min' => 10, 'pattern' => '^i-[a-f0-9]+$', ], 'InstanceOSUser' => [ 'type' => 'string', 'max' => 32, 'min' => 1, 'pattern' => '^[A-Za-z_][A-Za-z0-9\\@\\._-]{0,30}[A-Za-z0-9\\$_-]?$', ], 'InvalidArgsException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'RequestId' => [ 'type' => 'string', ], 'SSHPublicKey' => [ 'type' => 'string', 'max' => 4096, 'min' => 80, ], 'SendSSHPublicKeyRequest' => [ 'type' => 'structure', 'required' => [ 'InstanceId', 'InstanceOSUser', 'SSHPublicKey', ], 'members' => [ 'InstanceId' => [ 'shape' => 'InstanceId', ], 'InstanceOSUser' => [ 'shape' => 'InstanceOSUser', ], 'SSHPublicKey' => [ 'shape' => 'SSHPublicKey', ], 'AvailabilityZone' => [ 'shape' => 'AvailabilityZone', ], ], ], 'SendSSHPublicKeyResponse' => [ 'type' => 'structure', 'members' => [ 'RequestId' => [ 'shape' => 'RequestId', ], 'Success' => [ 'shape' => 'Success', ], ], ], 'SendSerialConsoleSSHPublicKeyRequest' => [ 'type' => 'structure', 'required' => [ 'InstanceId', 'SSHPublicKey', ], 'members' => [ 'InstanceId' => [ 'shape' => 'InstanceId', ], 'SerialPort' => [ 'shape' => 'SerialPort', ], 'SSHPublicKey' => [ 'shape' => 'SSHPublicKey', ], ], ], 'SendSerialConsoleSSHPublicKeyResponse' => [ 'type' => 'structure', 'members' => [ 'RequestId' => [ 'shape' => 'RequestId', ], 'Success' => [ 'shape' => 'Success', ], ], ], 'SerialConsoleAccessDisabledException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'SerialConsoleSessionLimitExceededException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'SerialConsoleSessionUnavailableException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, 'fault' => true, ], 'SerialPort' => [ 'type' => 'integer', 'max' => 0, 'min' => 0, ], 'ServiceException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, 'fault' => true, ], 'String' => [ 'type' => 'string', ], 'Success' => [ 'type' => 'boolean', ], 'ThrottlingException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], ],];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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/fis/2020-12-01/paginators-1.json
return [ 'pagination' => [ 'ListActions' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListExperimentTemplates' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListExperiments' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], ],];
return [ 'pagination' => [ 'ListActions' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListExperimentTemplates' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListExperiments' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListTargetResourceTypes' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], ],];

File diff suppressed because one or more lines are too long

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/frauddetector/2019-11-15/paginators-1.json
return [ 'pagination' => [ 'DescribeModelVersions' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetBatchImportJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetBatchPredictionJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetDetectors' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetEntityTypes' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetEventTypes' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetExternalModels' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetLabels' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetModels' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetOutcomes' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetRules' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetVariables' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListTagsForResource' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], ],];
return [ 'pagination' => [ 'DescribeModelVersions' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetBatchImportJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetBatchPredictionJobs' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetDetectors' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetEntityTypes' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetEventTypes' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetExternalModels' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetLabels' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetModels' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetOutcomes' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetRules' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'GetVariables' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListEventPredictions' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListTagsForResource' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], ],];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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/iotwireless/2020-11-22/paginators-1.json
return [ 'pagination' => [ 'ListDestinations' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListDeviceProfiles' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListFuotaTasks' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListMulticastGroups' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListMulticastGroupsByFuotaTask' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListServiceProfiles' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListWirelessDevices' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListWirelessGateways' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], ],];
return [ 'pagination' => [ 'ListDestinations' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListDeviceProfiles' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListFuotaTasks' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListMulticastGroups' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListMulticastGroupsByFuotaTask' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListQueuedMessages' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListServiceProfiles' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListWirelessDevices' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListWirelessGateways' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], ],];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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/kendra/2019-02-03/paginators-1.json
return [ 'pagination' => [ 'ListDataSourceSyncJobs' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListDataSources' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListEntityPersonas' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListExperienceEntities' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', ], 'ListExperiences' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListIndices' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], ],];
return [ 'pagination' => [ 'GetSnapshots' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListDataSourceSyncJobs' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListDataSources' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListEntityPersonas' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListExperienceEntities' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', ], 'ListExperiences' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListIndices' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], ],];

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show more